fsmvis.gui
Interface Selectable

All Known Implementing Classes:
CheckBoxPanel, ScatterPanel, DoubleSliderPanel, SearchBoxPanel

public abstract interface Selectable


Method Summary
 java.util.Collection getDeselection()
          Returns the indices of the deselected items in this object This method may return null if the getSelection method is being used instead.
 java.util.Collection getSelection()
          Returns the indices of the selected items in this object This method may return null if the getDeselection method is being used instead.
 void selectAll()
          Sets this selectable object to select all its items
 void selectNone()
          Sets this selectable item to select none of it items
 

Method Detail

getSelection

public java.util.Collection getSelection()
Returns the indices of the selected items in this object This method may return null if the getDeselection method is being used instead.
Returns:
The selection

getDeselection

public java.util.Collection getDeselection()
Returns the indices of the deselected items in this object This method may return null if the getSelection method is being used instead.
Returns:
The deselection

selectAll

public void selectAll()
Sets this selectable object to select all its items

selectNone

public void selectNone()
Sets this selectable item to select none of it items