borland Packages Class Hierarchy jbcl.model Package Index
java.lang.Object +----borland.jbcl.model.BasicSelection +----borland.jbcl.model.BasicVectorSelection
Variables Constructors Properties Methods Event Listeners
Implements VectorSelection, WritableVectorSelection, Serializable
The BasicVectorSelection class implements a basic WritableVectorSelection interface and supports the selection of multiple locations at once time.
public BasicVectorSelection()Constructs a BasicVectorSelection class.
public BasicVectorSelection(int[] newSet)Constructs a BasicVectorSelection class and sets the values of the set of selected locations to the array specified as newSet.
Parameters:
public int[] getAll()Returns all selected locations as an array.
protected void processSelectionEvent(borland.jbcl.model.VectorSelectionEvent e)If the broadcasting of vector-selection events is enabled and there are listeners for vector-selection events, the dispatch() methods of the vector-selection listeners are called.
Parameters:
public void addSelectionListener(borland.jbcl.model.VectorSelectionListener listener) public void removeSelectionListener(borland.jbcl.model.VectorSelectionListener listener)