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 AnimatedPickingGraphMousePlugin
vertexFields inherited from class AbstractGraphMousePlugin
cursor, down, modifiers -
Constructor Summary
ConstructorsConstructorDescriptioncreate an instanceSatelliteAnimatedPickingGraphMousePlugin(int selectionModifiers) -
Method Summary
Modifier and TypeMethodDescriptionvoidoverride subclass method to translate the master view instead of this satellite viewMethods inherited from class AnimatedPickingGraphMousePlugin
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressedMethods inherited from class AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiers, setCursor, setModifiersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressedMethods inherited from interface 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:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classAnimatedPickingGraphMousePlugin<V,E> - Parameters:
e- the event
-