borland Packages Class Hierarchy jbcl.model Package Index
java.util.EventListener +----borland.jbcl.model.GraphModelListener
Methods
Implemented by GraphModelAdapter, GraphModelMulticaster
Provides the methods necessary to respond to model events happening in components that use a graph model. Objects required to respond to these events must implement this interface and register themselves as listeners with the desired graph-model component.
If your component responds to only one graph-model event, instantiate a GraphModelAdapter to handle the other via a method with a null body. If you are working in JBuilder's UI Designer, this object is inserted into your code for you.
The two methods to implement are the modelContentChanged() method, which is called when the data in the model changes, and the modelStructureChanged() method, which is called when the structure of the graph changes.
void modelContentChanged(borland.jbcl.model.GraphModelEvent e)Called when content within the graph changes.
Parameters:
void modelStructureChanged(borland.jbcl.model.GraphModelEvent e)Called when the structure of the graph changes.
Parameters: