com.jidesoft.grid
Class ListSelectionModelGroup
java.lang.Object
com.jidesoft.swing.SelectionModelGroup<ListSelectionModel,ListSelectionListener>
com.jidesoft.grid.ListSelectionModelGroup
- All Implemented Interfaces:
- Serializable
public class ListSelectionModelGroup
- extends SelectionModelGroup<ListSelectionModel,ListSelectionListener>
- implements Serializable
This class is used to create a multiple-exclusion scope for a set of ListSelectionModel so that one
ListSelectionModel can have selected index at a time.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListSelectionModelGroup
public ListSelectionModelGroup()
- Creates a new
ListSelectionModelGroup
.
createSelectionListener
protected ListSelectionListener createSelectionListener()
- Specified by:
createSelectionListener
in class SelectionModelGroup<ListSelectionModel,ListSelectionListener>
addSelectionListener
protected void addSelectionListener(ListSelectionModel model,
ListSelectionListener listener)
- Specified by:
addSelectionListener
in class SelectionModelGroup<ListSelectionModel,ListSelectionListener>
removeSelectionListener
protected void removeSelectionListener(ListSelectionModel model,
ListSelectionListener listener)
- Specified by:
removeSelectionListener
in class SelectionModelGroup<ListSelectionModel,ListSelectionListener>
getListModels
public ListSelectionModel[] getListModels()
- Returns all the ListSelectionModel that are participating in this group.
- Returns:
- an array of all ListSelectionModels