Package hec.ui
Class CheckTreeSelectionModel
java.lang.Object
javax.swing.tree.DefaultTreeSelectionModel
hec.ui.CheckTreeSelectionModel
- All Implemented Interfaces:
Serializable
,Cloneable
,TreeSelectionModel
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSelectionPaths
(TreePath[] paths) boolean
isPartiallySelected
(TreePath path) boolean
isPathSelected
(TreePath path, boolean dig) boolean
This is true when nodes are being removed from the selection in order to select all on the parent nodevoid
removeSelectionPaths
(TreePath[] paths) void
setSelectionPaths
(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 Details
-
CheckTreeSelectionModel
-
-
Method Details
-
isPartiallySelected
-
isPathSelected
-
setSelectionPaths
- Specified by:
setSelectionPaths
in interfaceTreeSelectionModel
- Overrides:
setSelectionPaths
in classDefaultTreeSelectionModel
-
addSelectionPaths
- Specified by:
addSelectionPaths
in interfaceTreeSelectionModel
- Overrides:
addSelectionPaths
in classDefaultTreeSelectionModel
-
removeSelectionPaths
- Specified by:
removeSelectionPaths
in interfaceTreeSelectionModel
- Overrides:
removeSelectionPaths
in classDefaultTreeSelectionModel
-
isSelectingParent
public boolean isSelectingParent()This is true when nodes are being removed from the selection in order to select all on the parent node
-