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.


Variable Index

 o sharedInstance
Unique shared instance.

Constructor Index

 o JTree.EmptySelectionModel()

Method Index

 o addSelectionPaths(TreePath[])
Adds paths to the current selection.
 o removeSelectionPaths(TreePath[])
Removes paths from the selection.
 o setSelectionPaths(TreePath[])
Sets the selection to the paths in paths.
 o sharedInstance()

Variables

 o sharedInstance
protected static JTree.EmptySelectionModel sharedInstance
Unique shared instance.

Constructors

 o JTree.EmptySelectionModel
protected JTree.EmptySelectionModel()

Methods

 o sharedInstance
public static JTree.EmptySelectionModel sharedInstance()
 o setSelectionPaths
public void setSelectionPaths(TreePath[] pPaths)
Sets the selection to the paths in paths.

Overrides:
setSelectionPaths in class DefaultTreeSelectionModel
 o addSelectionPaths
public void addSelectionPaths(TreePath[] paths)
Adds paths to the current selection.

Overrides:
addSelectionPaths in class DefaultTreeSelectionModel
 o 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