borland Packages  Class Hierarchy  jbcl.model Package  Index 

BasicMatrixSelection component

java.lang.Object
   +----borland.jbcl.model.BasicSelection
           +----borland.jbcl.model.BasicMatrixSelection

About the BasicMatrixSelection component

Variables  Constructors  Properties  Methods  Event Listeners

Implements MatrixSelection, WritableMatrixSelection, Serializable

BasicMatrixSelection provides a simple implementation of the WritableMatrixSelection interface, and provides support for the selection of multiple locations within the matrix.


BasicMatrixSelection variables

Variables implemented in borland.jbcl.model.BasicSelection

BasicMatrixSelection constructors

BasicMatrixSelection properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.jbcl.model.BasicSelection

Properties implemented in java.lang.Object

BasicMatrixSelection methods

Methods implemented in this class

Methods implemented in borland.jbcl.model.BasicSelection

Methods implemented in java.lang.Object

BasicMatrixSelection event listeners


BasicMatrixSelection constructors

BasicMatrixSelection()

  public BasicMatrixSelection()
Constructs a BasicMatrixSelection object.

BasicMatrixSelection(borland.jbcl.model.MatrixLocation[])

  public BasicMatrixSelection(borland.jbcl.model.MatrixLocation[] newSet)
Constructs a BasicMatrixSelection object using an array of MatrixLocation objects passed to the constructor to set the set of selected locations.

Parameters:

newSet
The set of locations that becomes set of selected locations.

BasicMatrixSelection properties

all

 public MatrixLocation[] getAll()
Returns all the selected locations in an array of MatrixLocation objects.

BasicMatrixSelection methods

processSelectionEvent(borland.jbcl.model.MatrixSelectionEvent)

  protected void processSelectionEvent(borland.jbcl.model.MatrixSelectionEvent e)
If a matrix-selection event has occurred and their are listeners for the event, processSelectionEvent() dispatches the event object to all listeners of matrix-selection events.

Parameters:

e
The matrix-selection event object that is passed to the listeners.

BasicMatrixSelection event listeners

This component is a source for the following event sets. For information on the JBCL event sets, see Events in JBCL.

selection

 public void addSelectionListener(borland.jbcl.model.MatrixSelectionListener listener)
 public void removeSelectionListener(borland.jbcl.model.MatrixSelectionListener listener)