borland Packages  Class Hierarchy  jbcl.model Package  Index 

MatrixSelectionListener interface

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

About the MatrixSelectionListener interface

Methods  

Implemented by MatrixSelectionAdapter, MatrixSelectionMulticaster

Classes the implement this interface provide the methods to respond to matrix-selection events. Matrix-selection event objects are passed to these methods. The methods are selectionChanged(), which is called when the cell or cells selected change, selectionItemChanged(), which is called the content of a selected item changes, and selectionRangeChanged(), which is called when one or more locations are inserted or deleted in the set of selected locations.

Which method receives the event object depends on the type of the event. For example, if the event ID is RANGE_CHANGED, the event object is passed to the the selectionRangeChanged() method, which then responds to the event.


MatrixSelectionListener methods

Methods defined in this interface


MatrixSelectionListener methods

selectionChanged(borland.jbcl.model.MatrixSelectionEvent)

  void selectionChanged(borland.jbcl.model.MatrixSelectionEvent e)
Responds to a change in the set of selected locations.

Parameters:

e
The matrix-selection event object.

selectionItemChanged(borland.jbcl.model.MatrixSelectionEvent)

  void selectionItemChanged(borland.jbcl.model.MatrixSelectionEvent e)
Responds to a change in a particular location in the set of selected locations.

Parameters:

e
The matrix-selection event object.

selectionRangeChanged(borland.jbcl.model.MatrixSelectionEvent)

  void selectionRangeChanged(borland.jbcl.model.MatrixSelectionEvent e)
Responds to a change in the range of selected locations, such as an insertion or deletion.

Parameters:

e
The matrix-selection event object.