Package gov.nih.mipav.view
Class CheckTreeManager.CheckTreeSelectionModel
java.lang.Object
javax.swing.tree.DefaultTreeSelectionModel
gov.nih.mipav.view.CheckTreeManager.CheckTreeSelectionModel
- All Implemented Interfaces:
Serializable,Cloneable,TreeSelectionModel
- Enclosing class:
CheckTreeManager
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.tree.DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionModeFields inherited from interface javax.swing.tree.TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSelectionPaths(TreePath[] paths) private booleanareSiblingsSelected(TreePath path) private booleanisDescendant(TreePath path1, TreePath path2) booleanisPartiallySelected(TreePath path) booleanisPathSelected(TreePath path, boolean dig) voidremoveSelectionPaths(TreePath[] paths) voidsetSelectionPaths(TreePath[] pPaths) private voidMethods 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
model
-
-
Constructor Details
-
CheckTreeSelectionModel
-
-
Method Details
-
isPartiallySelected
-
isPathSelected
-
isDescendant
-
setSelectionPaths
- Specified by:
setSelectionPathsin interfaceTreeSelectionModel- Overrides:
setSelectionPathsin classDefaultTreeSelectionModel
-
addSelectionPaths
- Specified by:
addSelectionPathsin interfaceTreeSelectionModel- Overrides:
addSelectionPathsin classDefaultTreeSelectionModel
-
areSiblingsSelected
-
removeSelectionPaths
- Specified by:
removeSelectionPathsin interfaceTreeSelectionModel- Overrides:
removeSelectionPathsin classDefaultTreeSelectionModel
-
toggleRemoveSelection
-