All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.JTree.EmptySelectionModel
java.lang.Object
|
+----java.awt.swing.tree.DefaultTreeSelectionModel
|
+----java.awt.swing.JTree.EmptySelectionModel
- protected static class JTree.EmptySelectionModel
- extends DefaultTreeSelectionModel
EmptySelectionModel is a TreeSelectionModel that does not allow
anything to be selected.
sharedInstance- Unique shared instance.
JTree.EmptySelectionModel()
-
addSelectionPaths(TreePath[])
- Adds paths to the current selection.
removeSelectionPaths(TreePath[])
- Removes paths from the selection.
setSelectionPaths(TreePath[])
- Sets the selection to the paths in paths.
sharedInstance()
-
sharedInstance
protected static JTree.EmptySelectionModel sharedInstance
- Unique shared instance.
JTree.EmptySelectionModel
protected JTree.EmptySelectionModel()
sharedInstance
public static JTree.EmptySelectionModel sharedInstance()
setSelectionPaths
public void setSelectionPaths(TreePath[] pPaths)
- Sets the selection to the paths in paths.
- Overrides:
- setSelectionPaths in class DefaultTreeSelectionModel
addSelectionPaths
public void addSelectionPaths(TreePath[] paths)
- Adds paths to the current selection.
- Overrides:
- addSelectionPaths in class DefaultTreeSelectionModel
removeSelectionPaths
public void removeSelectionPaths(TreePath[] paths)
- Removes paths from the selection.
- Overrides:
- removeSelectionPaths in class DefaultTreeSelectionModel
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature