public abstract class SelectableShape extends java.lang.Object implements SceneShape
| Modifier and Type | Field and Description | 
|---|---|
| private boolean | selected | 
| Constructor and Description | 
|---|
| SelectableShape() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | drawSelection(java.awt.Graphics2D g2)Draws the selection adornment of this item. | 
| boolean | isSelected()Gets the selection state of this item. | 
| void | setSelected(boolean b)Sets the selection state of this item. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, draw, translateprivate boolean selected
public SelectableShape()
public void setSelected(boolean b)
SceneShapesetSelected in interface SceneShapeb - true if this item is selectedpublic boolean isSelected()
SceneShapeisSelected in interface SceneShapepublic void drawSelection(java.awt.Graphics2D g2)
SceneShapedrawSelection in interface SceneShapeg2 - the graphics context