public class CheckTreeSelectionModel extends DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionModeCONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION| Constructor and Description |
|---|
CheckTreeSelectionModel(TreeModel model,
boolean dig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionPaths(TreePath[] paths) |
Enumeration |
getAllSelectedPaths() |
boolean |
isDigged() |
boolean |
isPartiallySelected(TreePath path) |
boolean |
isPathSelected(TreePath path,
boolean dig) |
void |
removeSelectionPaths(TreePath[] paths) |
void |
setSelectionPaths(TreePath[] paths) |
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, updateLeadIndexpublic CheckTreeSelectionModel(TreeModel model, boolean dig)
public boolean isDigged()
public boolean isPartiallySelected(TreePath path)
public boolean isPathSelected(TreePath path, boolean dig)
public void setSelectionPaths(TreePath[] paths)
setSelectionPaths in interface TreeSelectionModelsetSelectionPaths in class DefaultTreeSelectionModelpublic void addSelectionPaths(TreePath[] paths)
addSelectionPaths in interface TreeSelectionModeladdSelectionPaths in class DefaultTreeSelectionModelpublic void removeSelectionPaths(TreePath[] paths)
removeSelectionPaths in interface TreeSelectionModelremoveSelectionPaths in class DefaultTreeSelectionModelpublic Enumeration getAllSelectedPaths()
Copyright © 2019. All rights reserved.