|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Draggable
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 |
---|
void setLocationNoVeto(int x, int y)
Draggable
object. Change in
location will not be vetoed.
void setLocation(java.awt.Point loc)
Draggable
object.
void setLocation(java.awt.Point loc, boolean fireEvent)
Draggable
object and optionally don't
fire a PropertyChangeEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |