|
JGraph |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jgraph.plaf.basic.BasicGraphDropTargetListener
org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
Graph Drop Target Listener
| Constructor Summary | |
BasicGraphUI.GraphDropTargetListener()
|
|
| Method Summary | |
void |
dragEnter(DropTargetDragEvent e)
|
void |
dropActionChanged(DropTargetDragEvent e)
|
protected void |
restoreComponentState(JComponent comp)
called to restore the state of a component because a drop was not performed. |
protected void |
saveComponentState(JComponent comp)
called to save the state of a component in case it needs to be restored because a drop is not performed. |
protected void |
updateInsertionLocation(JComponent comp,
Point p)
called to set the insertion location to match the current mouse pointer coordinates. |
| Methods inherited from class org.jgraph.plaf.basic.BasicGraphDropTargetListener |
actionPerformed, dragExit, dragOver, drop, restoreComponentStateForDrop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicGraphUI.GraphDropTargetListener()
| Method Detail |
protected void saveComponentState(JComponent comp)
saveComponentState in class BasicGraphDropTargetListenerprotected void restoreComponentState(JComponent comp)
restoreComponentState in class BasicGraphDropTargetListener
protected void updateInsertionLocation(JComponent comp,
Point p)
updateInsertionLocation in class BasicGraphDropTargetListenerpublic void dragEnter(DropTargetDragEvent e)
dragEnter in interface DropTargetListenerdragEnter in class BasicGraphDropTargetListenerpublic void dropActionChanged(DropTargetDragEvent e)
dropActionChanged in interface DropTargetListenerdropActionChanged in class BasicGraphDropTargetListener
|
JGraph |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||