org.jgraph.plaf.basic
public class BasicGraphDropTargetListener extends Object implements DropTargetListener, UIResource, ActionListener
| Constructor Summary | |
|---|---|
| BasicGraphDropTargetListener()
construct a DropTargetAutoScroller | |
| Method Summary | |
|---|---|
| void | actionPerformed(ActionEvent e)
The timer fired, perform autoscroll if the pointer is within the
autoscroll region.
|
| void | dragEnter(DropTargetDragEvent e) |
| void | dragExit(DropTargetEvent e) |
| void | dragOver(DropTargetDragEvent e) |
| void | drop(DropTargetDropEvent e) |
| void | dropActionChanged(DropTargetDragEvent e) |
| protected void | restoreComponentState(JComponent c)
called to restore the state of a component in case a drop
is not performed. |
| protected void | restoreComponentStateForDrop(JComponent c)
called to restore the state of a component in case a drop
is performed. |
| protected void | saveComponentState(JComponent c)
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 c, Point p)
called to set the insertion location to match the current
mouse pointer coordinates. |
Parameters: e the ActionEvent