|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.controls.ControlAdapter prefuse.controls.SubtreeDragControl
public class SubtreeDragControl
Control that changes the location of a whole subtree when dragged on screen.
This is similar to the DragControl
class, except that it
moves the entire visible subtree rooted at an item, rather than just the
item itself.
Field Summary |
---|
Fields inherited from interface prefuse.controls.Control |
---|
LEFT_MOUSE_BUTTON, MIDDLE_MOUSE_BUTTON, RIGHT_MOUSE_BUTTON |
Constructor Summary | |
---|---|
SubtreeDragControl()
Creates a new subtree drag control that issues repaint requests as an item is dragged. |
Method Summary | |
---|---|
void |
itemDragged(VisualItem item,
java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a VisualItem and then dragged. |
void |
itemEntered(VisualItem item,
java.awt.event.MouseEvent e)
Invoked when the mouse enters a VisualItem. |
void |
itemExited(VisualItem item,
java.awt.event.MouseEvent e)
Invoked when the mouse exits a VisualItem. |
void |
itemPressed(VisualItem item,
java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a VisualItem. |
void |
itemReleased(VisualItem item,
java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a VisualItem. |
Methods inherited from class prefuse.controls.ControlAdapter |
---|
isEnabled, itemClicked, itemKeyPressed, itemKeyReleased, itemKeyTyped, itemMoved, itemWheelMoved, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubtreeDragControl()
Method Detail |
---|
public void itemEntered(VisualItem item, java.awt.event.MouseEvent e)
Control
itemEntered
in interface Control
itemEntered
in class ControlAdapter
Control.itemEntered(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
public void itemExited(VisualItem item, java.awt.event.MouseEvent e)
Control
itemExited
in interface Control
itemExited
in class ControlAdapter
Control.itemExited(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
public void itemPressed(VisualItem item, java.awt.event.MouseEvent e)
Control
itemPressed
in interface Control
itemPressed
in class ControlAdapter
Control.itemPressed(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
public void itemReleased(VisualItem item, java.awt.event.MouseEvent e)
Control
itemReleased
in interface Control
itemReleased
in class ControlAdapter
Control.itemReleased(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
public void itemDragged(VisualItem item, java.awt.event.MouseEvent e)
Control
itemDragged
in interface Control
itemDragged
in class ControlAdapter
Control.itemDragged(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |