borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.model 

GraphModelListener interface

java.util.EventListener
   +----borland.jbcl.model.GraphModelListener

About the GraphModelListener interface

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.


GraphModelListener methods

Methods defined in this interface


GraphModelListener methods

modelContentChanged(borland.jbcl.model.GraphModelEvent)

  void modelContentChanged(borland.jbcl.model.GraphModelEvent e)
Called when content within the graph changes.

Parameters:

e
The graph-model event object that is created when the content changes.

modelStructureChanged(borland.jbcl.model.GraphModelEvent)

  void modelStructureChanged(borland.jbcl.model.GraphModelEvent e)
Called when the structure of the graph changes.

Parameters:

e
The graph-model event object that is created when the graph structure changes.