public class ParameterSelectionModel
extends javax.swing.tree.DefaultTreeSelectionModel
| Constructor and Description |
|---|
ParameterSelectionModel(javax.swing.tree.TreeModel model)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionPaths(javax.swing.tree.TreePath[] paths) |
boolean |
isPathSelected(javax.swing.tree.TreePath path,
boolean dig)
Determina se um caminho está selecionado na árvore.
|
void |
removeSelectionPaths(javax.swing.tree.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(javax.swing.tree.TreeModel model)
model - O modelo da árvore.public void addSelectionPaths(javax.swing.tree.TreePath[] paths)
addSelectionPaths in interface javax.swing.tree.TreeSelectionModeladdSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelpublic boolean isPathSelected(javax.swing.tree.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(javax.swing.tree.TreePath[] paths)
removeSelectionPaths in interface javax.swing.tree.TreeSelectionModelremoveSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelCopyright © 2015. All Rights Reserved.