protected static class JTree.EmptySelectionModel extends javax.swing.tree.DefaultTreeSelectionModel
| Modifier and Type | Field and Description |
|---|---|
protected static JTree.EmptySelectionModel |
sharedInstance
The shared instance of this model.
|
| Modifier | Constructor and Description |
|---|---|
protected |
JTree.EmptySelectionModel()
Creates a new instance of EmptySelectionModel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionPaths(javax.swing.tree.TreePath[] paths)
This catches attempts to add something to the selection.
|
void |
removeSelectionPaths(javax.swing.tree.TreePath[] paths)
This catches attempts to remove something from the selection.
|
void |
setSelectionPaths(javax.swing.tree.TreePath[] paths)
This catches attempts to set a selection and sets nothing instead.
|
static JTree.EmptySelectionModel |
sharedInstance()
Returns the shared instance of EmptySelectionModel.
|
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, updateLeadIndexprotected static final JTree.EmptySelectionModel sharedInstance
protected JTree.EmptySelectionModel()
public static JTree.EmptySelectionModel sharedInstance()
public void setSelectionPaths(javax.swing.tree.TreePath[] paths)
setSelectionPaths in interface javax.swing.tree.TreeSelectionModelsetSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelpaths - not used herepublic void addSelectionPaths(javax.swing.tree.TreePath[] paths)
addSelectionPaths in interface javax.swing.tree.TreeSelectionModeladdSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelpaths - not used herepublic void removeSelectionPaths(javax.swing.tree.TreePath[] paths)
removeSelectionPaths in interface javax.swing.tree.TreeSelectionModelremoveSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModelpaths - not used here