Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.uci.ics.jung.visualization
Class VisualizationViewer.VisualizationListener

    java.lang.Object
      java.awt.event.ComponentAdapter
          edu.uci.ics.jung.visualization.VisualizationViewer.VisualizationListener

All Implemented Interfaces:
  ComponentListener, EventListener

Enclosing class:
  VisualizationViewer

protected class VisualizationViewer.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.

Field Summary
`protected VisualizationViewer` | `vv`

Constructor Summary
`VisualizationViewer.VisualizationListener(VisualizationViewer vv)`

Method Summary
`void` | `componentResized(ComponentEvent e)` create a new offscreen image for the graph whenever the window is resied

Methods inherited from class java.awt.event.ComponentAdapter
`componentHidden, componentMoved, componentShown`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### vv

    protected VisualizationViewer vv

Constructor Detail

### VisualizationViewer.VisualizationListener

    public VisualizationViewer.VisualizationListener(VisualizationViewer vv)

Method Detail

### componentResized

    public void componentResized(ComponentEvent e)

  create a new offscreen image for the graph whenever the window is resied

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD