Class PluggableGraphMouse
java.lang.Object
edu.uci.ics.jung.visualization.control.PluggableGraphMouse
- All Implemented Interfaces:
VisualizationViewer.GraphMouse, MouseListener, MouseMotionListener, MouseWheelListener, EventListener
- Direct Known Subclasses:
AbstractModalGraphMouse
a GraphMouse that accepts plugins for various mouse events.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) MouseListener[](package private) MouseMotionListener[](package private) Set<MouseMotionListener> (package private) Set<GraphMousePlugin> (package private) MouseWheelListener[](package private) Set<MouseWheelListener> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(GraphMousePlugin plugin) private voidprivate voidprivate voidvoidvoidvoidvoidvoidvoidvoidvoidvoidremove(GraphMousePlugin plugin)
-
Field Details
-
mouseListeners
MouseListener[] mouseListeners -
mouseMotionListeners
MouseMotionListener[] mouseMotionListeners -
mouseWheelListeners
MouseWheelListener[] mouseWheelListeners -
mousePluginList
Set<GraphMousePlugin> mousePluginList -
mouseMotionPluginList
Set<MouseMotionListener> mouseMotionPluginList -
mouseWheelPluginList
Set<MouseWheelListener> mouseWheelPluginList
-
-
Constructor Details
-
PluggableGraphMouse
public PluggableGraphMouse()
-
-
Method Details
-
add
-
remove
-
checkMouseListeners
private void checkMouseListeners() -
checkMouseMotionListeners
private void checkMouseMotionListeners() -
checkMouseWheelListeners
private void checkMouseWheelListeners() -
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseWheelMoved
- Specified by:
mouseWheelMovedin interfaceMouseWheelListener
-