Package ghidra.graph.viewer.event.mouse
Class VisualGraphAbstractGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
java.lang.Object
edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
ghidra.graph.viewer.event.mouse.VisualGraphAbstractGraphMousePlugin<V,E>
- Type Parameters:
V- the vertex typeE- the edge type
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.control.GraphMousePlugin,VisualGraphMousePlugin<V,,E> MouseListener,MouseMotionListener,EventListener
- Direct Known Subclasses:
VisualGraphEdgeSelectionGraphMousePlugin,VisualGraphSatelliteAbstractGraphMousePlugin,VisualGraphZoomingPickingGraphMousePlugin
public abstract class VisualGraphAbstractGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
extends edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
implements MouseListener, MouseMotionListener, VisualGraphMousePlugin<V,E>
Usage Notes:
- We clear state on mouseReleased() and mouseExited(), since we will get at least one of those calls
-
Field Summary
FieldsFields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanbooleanprotected voidinstallCursor(Cursor newCursor, MouseEvent e) protected booleanprotected booleanvoidvoidvoidvoidvoidvoidvoidprotected booleanprotected booleanpickVertex(V vertex, edu.uci.ics.jung.visualization.VisualizationViewer<V, E> viewer) protected voidprotected booleanMethods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
getCursor, getModifiers, setCursor, setModifiersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.graph.viewer.event.mouse.VisualGraphMousePlugin
dispose, getGraphViewer, getSatelliteGraphViewer, getViewer, getViewUpdater, getViewUpdater
-
Field Details
-
isHandlingMouseEvents
protected boolean isHandlingMouseEvents -
selectedVertex
-
selectedEdge
-
-
Constructor Details
-
VisualGraphAbstractGraphMousePlugin
public VisualGraphAbstractGraphMousePlugin() -
VisualGraphAbstractGraphMousePlugin
public VisualGraphAbstractGraphMousePlugin(int selectionModifiers)
-
-
Method Details
-
checkModifiers
- Specified by:
checkModifiersin interfaceedu.uci.ics.jung.visualization.control.GraphMousePlugin- Overrides:
checkModifiersin classedu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
checkForVertex
-
checkForEdge
-
pickVertex
-
pickEdge
-
isOverVertex
-
isOverEdge
-
installCursor
-
shouldShowCursor
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
resetState
protected void resetState() -
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-