org.ceryle.graph
Class GraphMultiselectUI
java.lang.Object
com.touchgraph.graphlayout.interaction.TGUserInterface
com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
com.touchgraph.graphlayout.interaction.TGAbstractDragUI
com.touchgraph.graphlayout.interaction.DragMultiselectUI
org.ceryle.graph.GraphMultiselectUI
- All Implemented Interfaces:
- TGPaintListener, EventListener
public class GraphMultiselectUI
- extends DragMultiselectUI
- implements TGPaintListener
GraphMultiselectUI extends GraphMultiselectUI, for selecting a
group of GraphNodes by enclosing them in a dotted box.
- Version:
- $Id: GraphMultiselectUI.java,v 3.4 2007-06-15 12:09:23 altheim Exp $
- Author:
- Murray Altheim
- See Also:
DragMultiselectUI
|
Method Summary |
void |
mouseDragged(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
Catches this message and passes it on, but not before informing
the GraphPanel of the beginning of a mouse drag. |
void |
mouseReleased(MouseEvent e)
Catches this message and passes it on, but not before informing
the GraphPanel of the end of a mouse drag. |
void |
paintLast(Graphics g)
Extends the superclass' method to use Java 2D's dashed lines. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphMultiselectUI
public GraphMultiselectUI(GraphPanel gpanel)
- Constructor with the GraphPanel on which to operate.
mousePressed
public void mousePressed(MouseEvent e)
- Catches this message and passes it on, but not before informing
the GraphPanel of the beginning of a mouse drag.
- Overrides:
mousePressed in class DragMultiselectUI
mouseReleased
public void mouseReleased(MouseEvent e)
- Catches this message and passes it on, but not before informing
the GraphPanel of the end of a mouse drag.
- Overrides:
mouseReleased in class DragMultiselectUI
mouseDragged
public void mouseDragged(MouseEvent e)
- Overrides:
mouseDragged in class DragMultiselectUI
paintLast
public void paintLast(Graphics g)
- Extends the superclass' method to use Java 2D's dashed lines.
- Specified by:
paintLast in interface TGPaintListener- Overrides:
paintLast in class DragMultiselectUI
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.