|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Draggable defines an interface to allow classes to be
imaged separately in a Layer from other classes.
The interface is sufficient to allow dragging in a
JLayeredPane (JPane).
| Method Summary | |
void |
setLocation(java.awt.Point loc)
Set the location of the Draggable object. |
void |
setLocation(java.awt.Point loc,
boolean fireEvent)
Set the location of the Draggable object and optionally don't
fire a PropertyChangeEvent |
void |
setLocationNoVeto(int x,
int y)
Set the location of the Draggable object. |
| Method Detail |
public void setLocationNoVeto(int x,
int y)
Draggable object. Change in
location will not be vetoed.
public void setLocation(java.awt.Point loc)
Draggable object.
public void setLocation(java.awt.Point loc,
boolean fireEvent)
Draggable object and optionally don't
fire a PropertyChangeEvent
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||