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:
- ComponentListener, EventListener
- Enclosing class:
- BasicVisualizationServer<V,E>
protected class BasicVisualizationServer.VisualizationListener
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vv
protected BasicVisualizationServer<V,E> vv
BasicVisualizationServer.VisualizationListener
public BasicVisualizationServer.VisualizationListener(BasicVisualizationServer<V,E> vv)
componentResized
public void componentResized(ComponentEvent e)
- create a new offscreen image for the graph
whenever the window is resied
- Specified by:
componentResized
in interface ComponentListener
- Overrides:
componentResized
in class ComponentAdapter
Copyright © 2009. All Rights Reserved.