org.jgraph.plaf.basic
Class BasicGraphUI.GraphDropTargetListener
java.lang.Object
|
+--org.jgraph.plaf.basic.BasicGraphDropTargetListener
|
+--org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
- All Implemented Interfaces:
- ActionListener, DropTargetListener, EventListener, Serializable, UIResource
- Enclosing class:
- BasicGraphUI
- public class BasicGraphUI.GraphDropTargetListener
- extends BasicGraphDropTargetListener
- implements Serializable
Graph Drop Target Listener
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicGraphUI.GraphDropTargetListener
public BasicGraphUI.GraphDropTargetListener()
saveComponentState
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.
- Overrides:
saveComponentState in class BasicGraphDropTargetListener
restoreComponentState
protected void restoreComponentState(JComponent comp)
- called to restore the state of a component because a drop was not
performed.
- Overrides:
restoreComponentState in class BasicGraphDropTargetListener
updateInsertionLocation
protected void updateInsertionLocation(JComponent comp,
Point p)
- called to set the insertion location to match the current mouse
pointer coordinates.
- Overrides:
updateInsertionLocation in class BasicGraphDropTargetListener
dragEnter
public void dragEnter(DropTargetDragEvent e)
- Overrides:
dragEnter in class BasicGraphDropTargetListener
dropActionChanged
public void dropActionChanged(DropTargetDragEvent e)
- Overrides:
dropActionChanged in class BasicGraphDropTargetListener
Copyright (C) 2001-2004 Gaudenz Alder. All rights reserved.