Interface GraphModelListener

  • All Superinterfaces:
    java.util.EventListener
    All Known Implementing Classes:
    BasicGraphUI.GraphModelHandler

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

      • 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.