Class SatelliteAnimatedPickingGraphMousePlugin<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
edu.uci.ics.jung.visualization.control.AnimatedPickingGraphMousePlugin<V,E>
edu.uci.ics.jung.visualization.control.SatelliteAnimatedPickingGraphMousePlugin<V,E>
- All Implemented Interfaces:
GraphMousePlugin
,MouseListener
,MouseMotionListener
,EventListener
public class SatelliteAnimatedPickingGraphMousePlugin<V,E>
extends AnimatedPickingGraphMousePlugin<V,E>
implements MouseListener, MouseMotionListener
A version of the AnimatedPickingGraphMousePlugin that is for
the SatelliteVisualizationViewer. The difference it that when
you pick a Vertex in the Satellite View, the 'master view' is
translated to move that Vertex to the center.
- See Also:
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.control.AnimatedPickingGraphMousePlugin
vertex
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
Constructor Summary
ConstructorsConstructorDescriptioncreate an instanceSatelliteAnimatedPickingGraphMousePlugin
(int selectionModifiers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
override subclass method to translate the master view instead of this satellite viewMethods inherited from class edu.uci.ics.jung.visualization.control.AnimatedPickingGraphMousePlugin
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed
Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiers, setCursor, setModifiers
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
-
Constructor Details
-
SatelliteAnimatedPickingGraphMousePlugin
public SatelliteAnimatedPickingGraphMousePlugin()create an instance -
SatelliteAnimatedPickingGraphMousePlugin
public SatelliteAnimatedPickingGraphMousePlugin(int selectionModifiers)
-
-
Method Details
-
mouseReleased
override subclass method to translate the master view instead of this satellite view- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classAnimatedPickingGraphMousePlugin<V,
E> - Parameters:
e
- the event
-