|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selectable
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 |
---|
void setSelected(boolean sel)
sel
- true if selected, false if not.boolean isSelected()
java.awt.Rectangle getBounds()
boolean isSelectable()
void setSelectable(boolean select)
select
- if true object is selectable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |