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

VectorModelListener interface

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

About the VectorModelListener interface

Methods  

Implemented by TabsetControl, TabsetPanel, VectorModelAdapter, VectorModelMulticaster, HeaderView, TabsetView

Provides the methods necessary to respond to model events happening in components that use a vector model, such as ListControl. Objects required to respond to these events must implement this interface and register themselves as listeners with the desired vector-model component.

If your component responds to only one vector-model event, instantiate a VectorModelAdapter 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.


VectorModelListener methods

Methods defined in this interface


VectorModelListener methods

modelContentChanged(borland.jbcl.model.VectorModelEvent)

  void modelContentChanged(borland.jbcl.model.VectorModelEvent e)
Called when content within the vector changes.

Parameters:

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

modelStructureChanged(borland.jbcl.model.VectorModelEvent)

  void modelStructureChanged(borland.jbcl.model.VectorModelEvent e)
Called when the size of the vector changes.

Parameters:

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