Interface GraphModelListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
BasicGraphUI.GraphModelHandler

public interface GraphModelListener extends EventListener
Defines the interface for an object that listens to changes in a GraphModel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked after a cell has changed in some way.
  • Method Details

    • graphChanged

      void graphChanged(GraphModelEvent e)
      Invoked after a cell has changed in some way. The vertex/vertices may have changed bounds or altered adjacency, or other attributes have changed that may affect presentation. Note : Read the notes on the GraphModelEvent class carefully. A GraphModelEvent is the undo of the event that has just occurred, i.e. if you undo this event is executed.