public class ParameterSelectionModel 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 |
|---|
ParameterSelectionModel(TreeModel model)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionPaths(TreePath[] paths) |
boolean |
isPathSelected(TreePath path,
boolean dig)
Determina se um caminho está selecionado na árvore.
|
void |
removeSelectionPaths(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, setSelectionPaths, toString, updateLeadIndexpublic ParameterSelectionModel(TreeModel model)
model - O modelo da árvore.public void addSelectionPaths(TreePath[] paths)
addSelectionPaths in interface TreeSelectionModeladdSelectionPaths in class DefaultTreeSelectionModelpublic boolean isPathSelected(TreePath path, boolean dig)
path - o caminho a ser avaliado.dig - determina se o caminho é considerado selecionado se um de seus
ancestrais estiver selecionado.public void removeSelectionPaths(TreePath[] paths)
removeSelectionPaths in interface TreeSelectionModelremoveSelectionPaths in class DefaultTreeSelectionModelCopyright © 2019. All rights reserved.