Class DefaultSatelliteGraphMouse<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.control.PluggableGraphMouse
-
- org.jungrapht.visualization.control.AbstractGraphMouse
-
- org.jungrapht.visualization.control.DefaultGraphMouse<V,E>
-
- org.jungrapht.visualization.control.DefaultSatelliteGraphMouse<V,E>
-
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
,VisualizationViewer.GraphMouse
public class DefaultSatelliteGraphMouse<V,E> extends DefaultGraphMouse<V,E>
A Satellite version of theDefaultGraphMouse
.- Author:
- Tom Nelson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultSatelliteGraphMouse.Builder<V,E,T extends DefaultSatelliteGraphMouse,B extends DefaultSatelliteGraphMouse.Builder<V,E,T,B>>
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.control.DefaultGraphMouse
addRegionSelectionCompleteMask, addRegionSelectionMask, addSingleSelectionMask, regionSelectionCompleteMask, regionSelectionMask, scalingMask, singleSelectionMask, translatingMask, xAxisScalingMask, yAxisScalingMask
-
Fields inherited from class org.jungrapht.visualization.control.AbstractGraphMouse
in, out, regionSelectingPlugin, scalingPlugin, selectingPlugin, translatingPlugin, vertexSelectionOnly
-
-
Constructor Summary
Constructors Constructor Description DefaultSatelliteGraphMouse()
DefaultSatelliteGraphMouse(DefaultSatelliteGraphMouse.Builder<V,E,?,?> builder)
create an instance with default values
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V,E>
DefaultSatelliteGraphMouse.Builder<V,E,?,?>builder()
void
loadPlugins()
create the plugins, and load themvoid
setZoomAtMouse(boolean zoomAtMouse)
-
Methods inherited from class org.jungrapht.visualization.control.PluggableGraphMouse
add, clear, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jungrapht.visualization.VisualizationViewer.GraphMouse
isPluginsLoaded, setPluginsLoaded
-
-
-
-
Constructor Detail
-
DefaultSatelliteGraphMouse
public DefaultSatelliteGraphMouse()
-
DefaultSatelliteGraphMouse
public DefaultSatelliteGraphMouse(DefaultSatelliteGraphMouse.Builder<V,E,?,?> builder)
create an instance with default values
-
-
Method Detail
-
builder
public static <V,E> DefaultSatelliteGraphMouse.Builder<V,E,?,?> builder()
-
loadPlugins
public void loadPlugins()
create the plugins, and load them- Specified by:
loadPlugins
in interfaceVisualizationViewer.GraphMouse
- Overrides:
loadPlugins
in classDefaultGraphMouse<V,E>
-
setZoomAtMouse
public void setZoomAtMouse(boolean zoomAtMouse)
- Overrides:
setZoomAtMouse
in classDefaultGraphMouse<V,E>
- Parameters:
zoomAtMouse
- The zoomAtMouse to set.
-
-