|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Interface indicates that object can be selected with a mouse click.
To be moveable the object must implement the Moveable
interface.
Moveable| Method Summary | |
java.awt.Rectangle |
getBounds()
Gets the bounding rectangle in device coordinates. |
boolean |
isSelectable()
Returns true if the current state is selectable. |
boolean |
isSelected()
Returns true if the object's selected property is set. |
void |
setSelectable(boolean select)
Set the Selectable property. |
void |
setSelected(boolean sel)
Sets the selected property. |
| Method Detail |
public void setSelected(boolean sel)
sel - true if selected, false if not.public boolean isSelected()
public java.awt.Rectangle getBounds()
public boolean isSelectable()
public void setSelectable(boolean select)
select - if true object is selectable
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||