|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Moveable
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 |
---|
java.awt.Rectangle getBounds()
java.awt.Point getLocation()
void setLocation(java.awt.Point point)
boolean isMoveable()
void setMoveable(boolean move)
select
- if true object is moveablevoid addPropertyChangeListener(java.beans.PropertyChangeListener l)
void removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |