com.jidesoft.tree
Class TreeSelectionModelGroup
java.lang.Object
com.jidesoft.swing.SelectionModelGroup<TreeSelectionModel,TreeSelectionListener>
com.jidesoft.tree.TreeSelectionModelGroup
- All Implemented Interfaces:
- Serializable
public class TreeSelectionModelGroup
- extends SelectionModelGroup<TreeSelectionModel,TreeSelectionListener>
- implements Serializable
This class is used to create a multiple-exclusion scope for a set of TreeSelectionModel so that one
TreeSelectionModel 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 |
TreeSelectionModelGroup
public TreeSelectionModelGroup()
- Creates a new
ListSelectionModelGroup
.
createSelectionListener
protected TreeSelectionListener createSelectionListener()
- Specified by:
createSelectionListener
in class SelectionModelGroup<TreeSelectionModel,TreeSelectionListener>
addSelectionListener
protected void addSelectionListener(TreeSelectionModel model,
TreeSelectionListener listener)
- Specified by:
addSelectionListener
in class SelectionModelGroup<TreeSelectionModel,TreeSelectionListener>
removeSelectionListener
protected void removeSelectionListener(TreeSelectionModel model,
TreeSelectionListener listener)
- Specified by:
removeSelectionListener
in class SelectionModelGroup<TreeSelectionModel,TreeSelectionListener>
getListModels
public TreeSelectionModel[] getListModels()
- Returns all the TreeSelectionModel that are participating in this group.
- Returns:
- an array of all TreeSelectionModels