Package edu.uci.ics.jung.visualization
Class BasicVisualizationServer.VisualizationListener
- java.lang.Object
-
- java.awt.event.ComponentAdapter
-
- edu.uci.ics.jung.visualization.BasicVisualizationServer.VisualizationListener
-
- All Implemented Interfaces:
java.awt.event.ComponentListener
,java.util.EventListener
- Enclosing class:
- BasicVisualizationServer<V,E>
protected class BasicVisualizationServer.VisualizationListener extends java.awt.event.ComponentAdapter
VisualizationListener reacts to changes in the size of the VisualizationViewer. When the size changes, it ensures that the offscreen image is sized properly. If the layout is locked to this view size, then the layout is also resized to be the same as the view size.
-
-
Field Summary
Fields Modifier and Type Field Description protected BasicVisualizationServer<V,E>
vv
-
Constructor Summary
Constructors Constructor Description VisualizationListener(BasicVisualizationServer<V,E> vv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
componentResized(java.awt.event.ComponentEvent e)
create a new offscreen image for the graph whenever the window is resied
-
-
-
Field Detail
-
vv
protected BasicVisualizationServer<V,E> vv
-
-
Constructor Detail
-
VisualizationListener
public VisualizationListener(BasicVisualizationServer<V,E> vv)
-
-
Method Detail
-
componentResized
public void componentResized(java.awt.event.ComponentEvent e)
create a new offscreen image for the graph whenever the window is resied- Specified by:
componentResized
in interfacejava.awt.event.ComponentListener
- Overrides:
componentResized
in classjava.awt.event.ComponentAdapter
-
-