java.lang.Object | ||
↳ | javax.swing.tree.DefaultTreeSelectionModel | |
↳ | javax.swing.JTree.EmptySelectionModel |
EmptySelectionModel
is a TreeSelectionModel
that does not allow anything to be selected.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans
package.
Please see XMLEncoder
.
[Expand]
Inherited Constants | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| ||||||||||||||||||||
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
sharedInstance | Unique shared instance. |
[Expand]
Inherited Fields | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A
null implementation that adds nothing. | |||||||||||
A
null implementation that removes nothing. | |||||||||||
A
null implementation that selects nothing. | |||||||||||
Returns a shared instance of an empty selection model.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
A null
implementation that adds nothing.
paths | the new path to add to the current selection |
---|
A null
implementation that removes nothing.
paths | the paths to remove from the selection |
---|
A null
implementation that selects nothing.
pPaths | new selection |
---|
Returns a shared instance of an empty selection model.