graphlab.gui.core.graph
Class GraphRectRegionSelect
java.lang.Object
graphlab.gui.core.graph.GraphRectRegionSelect
- All Implemented Interfaces:
- PaintHandler<GraphView>, Notifiable
public abstract class GraphRectRegionSelect
- extends java.lang.Object
- implements Notifiable, PaintHandler<GraphView>
- Author:
- azin azadi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphRectRegionSelect
public GraphRectRegionSelect(BlackBoard bb)
getCurrentRect
public java.awt.Rectangle getCurrentRect()
startSelectingRegion
public void startSelectingRegion()
- starts the process of selecting a rectangular region by the user on the graph
this will listen for press the mouse button and drag it on the graph
this will finished whenever the mouse released
doJob
public void doJob(java.lang.String name)
- Description copied from interface:
Notifiable
- the event ocurred, i notify you to do your job!
- Specified by:
doJob in interface Notifiable
onMouseMoved
public abstract void onMouseMoved(GraphMouseMoveData data)
onDrop
public abstract void onDrop(GraphDropData data)
paint
public void paint(java.awt.Graphics g,
GraphView destinationComponent)
- Specified by:
paint in interface PaintHandler<GraphView>
isEnable
public boolean isEnable()
- Specified by:
isEnable in interface Notifiable