JIDE 3.5.15

com.jidesoft.grid
Class ListSelectionModelGroup

java.lang.Object
  extended by com.jidesoft.swing.SelectionModelGroup<ListSelectionModel,ListSelectionListener>
      extended by 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

Field Summary
 
Fields inherited from class com.jidesoft.swing.SelectionModelGroup
_models, _selectionListener
 
Constructor Summary
ListSelectionModelGroup()
          Creates a new ListSelectionModelGroup.
 
Method Summary
protected  void addSelectionListener(ListSelectionModel model, ListSelectionListener listener)
           
protected  ListSelectionListener createSelectionListener()
           
 ListSelectionModel[] getListModels()
          Returns all the ListSelectionModel that are participating in this group.
protected  void removeSelectionListener(ListSelectionModel model, ListSelectionListener listener)
           
 
Methods inherited from class com.jidesoft.swing.SelectionModelGroup
add, add, getElements, getModelCount, getModels, remove, removeAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSelectionModelGroup

public ListSelectionModelGroup()
Creates a new ListSelectionModelGroup.

Method Detail

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

JIDE 3.5.15