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

MatrixModelListener interface

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

About the MatrixModelListener interface

Methods  

Implemented by MatrixModelAdapter, MatrixModelMulticaster

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

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


MatrixModelListener methods

Methods defined in this interface


MatrixModelListener methods

modelContentChanged(borland.jbcl.model.MatrixModelEvent)

  public void modelContentChanged(borland.jbcl.model.MatrixModelEvent e)
Called when content within the matrix changes.

Parameters:

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

modelStructureChanged(borland.jbcl.model.MatrixModelEvent)

  public void modelStructureChanged(borland.jbcl.model.MatrixModelEvent e)
Called when the size of the matrix changes.

Parameters:

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