Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
Modifier and Type | Class | Description |
---|---|---|
protected static class |
JTree.EmptySelectionModel |
EmptySelectionModel is a TreeSelectionModel
that does not allow anything to be selected. |
Modifier and Type | Field | Description |
---|---|---|
protected TreeSelectionModel |
JTree.selectionModel |
Models the set of selected nodes in this tree.
|
Modifier and Type | Method | Description |
---|---|---|
TreeSelectionModel |
JTree.getSelectionModel() |
Returns the model for selections.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JTree.setSelectionModel(TreeSelectionModel selectionModel) |
Sets the tree's selection model.
|
Modifier and Type | Field | Description |
---|---|---|
protected TreeSelectionModel |
BasicTreeUI.treeSelectionModel |
Model maintaining the selection.
|
Modifier and Type | Method | Description |
---|---|---|
protected TreeSelectionModel |
BasicTreeUI.getSelectionModel() |
Returns the tree selection model.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
BasicTreeUI.setSelectionModel(TreeSelectionModel newLSM) |
Resets the selection model.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultTreeSelectionModel |
Default implementation of TreeSelectionModel.
|
Modifier and Type | Field | Description |
---|---|---|
protected TreeSelectionModel |
AbstractLayoutCache.treeSelectionModel |
Selection model.
|
Modifier and Type | Method | Description |
---|---|---|
TreeSelectionModel |
AbstractLayoutCache.getSelectionModel() |
Returns the model used to maintain the selection.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractLayoutCache.setSelectionModel(TreeSelectionModel newLSM) |
Sets the
TreeSelectionModel used to manage the
selection to new LSM. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps