Package org.jgraph.plaf.basic
Class BasicGraphUI.GraphModelHandler
java.lang.Object
org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler
- All Implemented Interfaces:
Serializable
,EventListener
,GraphModelListener
- Enclosing class:
BasicGraphUI
public class BasicGraphUI.GraphModelHandler
extends Object
implements GraphModelListener, Serializable
Listens for changes in the graph model and updates the view accordingly.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked after a cell has changed in some way.
-
Constructor Details
-
GraphModelHandler
public GraphModelHandler()
-
-
Method Details
-
graphChanged
Description copied from interface:GraphModelListener
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.- Specified by:
graphChanged
in interfaceGraphModelListener
-