Class VisualGraphScalingGraphMousePlugin<V extends VisualVertex,​E extends VisualEdge<V>>

  • All Implemented Interfaces:
    edu.uci.ics.jung.visualization.control.GraphMousePlugin, VisualGraphMousePlugin<V,​E>, java.awt.event.MouseWheelListener, java.util.EventListener

    public class VisualGraphScalingGraphMousePlugin<V extends VisualVertex,​E extends VisualEdge<V>>
    extends edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin
    implements VisualGraphMousePlugin<V,​E>
    Overridden implementation that allows us to change scaling behavior through options. This class works on the opposite modifier setup as FunctionGraphScrollWheelPanningPlugin.
    • Field Summary

      • Fields inherited from class edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin

        in, out, scaler, zoomAtMouse
      • Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin

        cursor, down, modifiers
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkModifiers​(java.awt.event.MouseEvent e)  
      • Methods inherited from class edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin

        getIn, getOut, getScaler, mouseWheelMoved, setIn, setOut, setScaler, setZoomAtMouse
      • Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin

        getCursor, getModifiers, setCursor, setModifiers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VisualGraphScalingGraphMousePlugin

        public VisualGraphScalingGraphMousePlugin()
    • Method Detail

      • checkModifiers

        public boolean checkModifiers​(java.awt.event.MouseEvent e)
        Specified by:
        checkModifiers in interface edu.uci.ics.jung.visualization.control.GraphMousePlugin
        Overrides:
        checkModifiers in class edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin