Serializable, Cloneable, TreeSelectionModelpublic class CheckTreeSelectionModel extends DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionModeCONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION| 构造器 | 说明 |
|---|---|
CheckTreeSelectionModel(TreeModel model) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addSelectionPaths(TreePath[] paths) |
|
boolean |
isPartiallySelected(TreePath path) |
|
boolean |
isPathSelected(TreePath path,
boolean dig) |
|
void |
removeSelectionPaths(TreePath[] paths) |
|
void |
setSelectionPaths(TreePath[] pPaths) |
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)
public boolean isPartiallySelected(TreePath path)
public boolean isPathSelected(TreePath path, boolean dig)
public void setSelectionPaths(TreePath[] pPaths)
setSelectionPaths 在接口中 TreeSelectionModelsetSelectionPaths 在类中 DefaultTreeSelectionModelpublic void addSelectionPaths(TreePath[] paths)
addSelectionPaths 在接口中 TreeSelectionModeladdSelectionPaths 在类中 DefaultTreeSelectionModelpublic void removeSelectionPaths(TreePath[] paths)
removeSelectionPaths 在接口中 TreeSelectionModelremoveSelectionPaths 在类中 DefaultTreeSelectionModelCopyright © 2019. All rights reserved.