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 |
|---|---|
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, drawSelection, 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 SceneShape