Class AddCheckBoxToTree.CheckTreeSelectionModel
- java.lang.Object
-
- javax.swing.tree.DefaultTreeSelectionModel
-
- org.bidib.wizard.mvc.common.view.checkboxtree.AddCheckBoxToTree.CheckTreeSelectionModel
-
- All Implemented Interfaces:
Serializable,Cloneable,TreeSelectionModel
- Enclosing class:
- AddCheckBoxToTree
public class AddCheckBoxToTree.CheckTreeSelectionModel extends DefaultTreeSelectionModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode
-
Fields inherited from interface javax.swing.tree.TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION
-
-
Constructor Summary
Constructors Constructor Description CheckTreeSelectionModel(TreeModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSelectionPaths(TreePath[] paths)TreeModelgetModel()booleanisPartiallySelected(TreePath path)booleanisPathSelected(TreePath path, boolean dig)voidremoveSelectionPaths(TreePath[] paths)voidsetSelectionPaths(TreePath[] pPaths)-
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addSelectionPath, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, toString, updateLeadIndex
-
-
-
-
Constructor Detail
-
CheckTreeSelectionModel
public CheckTreeSelectionModel(TreeModel model)
-
-
Method Detail
-
isPartiallySelected
public boolean isPartiallySelected(TreePath path)
-
isPathSelected
public boolean isPathSelected(TreePath path, boolean dig)
-
setSelectionPaths
public void setSelectionPaths(TreePath[] pPaths)
- Specified by:
setSelectionPathsin interfaceTreeSelectionModel- Overrides:
setSelectionPathsin classDefaultTreeSelectionModel
-
addSelectionPaths
public void addSelectionPaths(TreePath[] paths)
- Specified by:
addSelectionPathsin interfaceTreeSelectionModel- Overrides:
addSelectionPathsin classDefaultTreeSelectionModel
-
removeSelectionPaths
public void removeSelectionPaths(TreePath[] paths)
- Specified by:
removeSelectionPathsin interfaceTreeSelectionModel- Overrides:
removeSelectionPathsin classDefaultTreeSelectionModel
-
getModel
public TreeModel getModel()
-
-