|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface indicates that object can be moved with a mouse drag. Objects are notified of movement via the PropertyChange mechanism.
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a new PropertyChangeListener. |
java.awt.Rectangle |
getBounds()
Gets the bounding rectangle in device coordinates. |
java.awt.Point |
getLocation()
Gets the location in device coordinates. |
boolean |
isMoveable()
Returns true if the current state is moveable |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a listener. |
void |
setLocation(java.awt.Point point)
Sets the location in device coordinates. |
void |
setMoveable(boolean move)
Set the moveable property. |
Method Detail |
public java.awt.Rectangle getBounds()
public java.awt.Point getLocation()
public void setLocation(java.awt.Point point)
public boolean isMoveable()
public void setMoveable(boolean move)
select
- if true object is moveablepublic void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
SGT Home | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |