public class CheckTreeSelectionModel extends DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode
CONTIGUOUS_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, updateLeadIndex
public 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 TreeSelectionModel
setSelectionPaths
in class DefaultTreeSelectionModel
public void addSelectionPaths(TreePath[] paths)
addSelectionPaths
in interface TreeSelectionModel
addSelectionPaths
in class DefaultTreeSelectionModel
public void removeSelectionPaths(TreePath[] paths)
removeSelectionPaths
in interface TreeSelectionModel
removeSelectionPaths
in class DefaultTreeSelectionModel
public Enumeration getAllSelectedPaths()
Copyright © 2019. All Rights Reserved.