javax.swing
protected static class JTree.EmptySelectionModel extends DefaultTreeSelectionModel
Field Summary | |
---|---|
protected static JTree.EmptySelectionModel | sharedInstance
The shared instance of this model. |
Constructor Summary | |
---|---|
protected | EmptySelectionModel()
Creates a new instance of EmptySelectionModel. |
Method Summary | |
---|---|
void | addSelectionPaths(TreePath[] paths)
This catches attempts to add something to the selection.
|
void | removeSelectionPaths(TreePath[] paths)
This catches attempts to remove something from the selection.
|
void | setSelectionPaths(TreePath[] paths)
This catches attempts to set a selection and sets nothing instead.
|
static JTree.EmptySelectionModel | sharedInstance()
Returns the shared instance of EmptySelectionModel.
|
Parameters: paths not used here
Parameters: paths not used here
Parameters: paths not used here
Returns: the shared instance of EmptySelectionModel