Class 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.
    • 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
      • 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
    • 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 interface java.awt.event.ComponentListener
        Overrides:
        componentResized in class java.awt.event.ComponentAdapter