| Package | Description |
|---|---|
| javax.swing | |
| javax.swing.plaf.basic | |
| javax.swing.tree |
| Modifier and Type | Class and Description |
|---|---|
protected class |
JTree.AccessibleJTree
This class implements accessibility support for the
JTree class. |
protected class |
JTree.TreeSelectionRedirector
Handles creating a new
TreeSelectionEvent with the
JTree as the
source and passing it off to all the listeners. |
| Modifier and Type | Method and Description |
|---|---|
TreeSelectionListener[] |
JTree.getTreeSelectionListeners()
Returns an array of all the
TreeSelectionListeners added
to this JTree with addTreeSelectionListener(). |
| Modifier and Type | Method and Description |
|---|---|
void |
JTree.addTreeSelectionListener(TreeSelectionListener tsl)
Adds a listener for
TreeSelection events. |
void |
JTree.EmptySelectionModel.addTreeSelectionListener(TreeSelectionListener listener)
This is overriden to do nothing;
EmptySelectionModel
does not allow a selection. |
void |
JTree.removeTreeSelectionListener(TreeSelectionListener tsl)
Removes a
TreeSelection listener. |
void |
JTree.EmptySelectionModel.removeTreeSelectionListener(TreeSelectionListener listener)
This is overriden to do nothing;
EmptySelectionModel
does not allow a selection. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicTreeUI.TreeSelectionHandler
Listens for changes in the selection model and updates the display
accordingly.
|
| Modifier and Type | Method and Description |
|---|---|
protected TreeSelectionListener |
BasicTreeUI.createTreeSelectionListener()
Creates the listener that updates the display based on selection change
methods.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTreeCellEditor
A
TreeCellEditor. |
| Modifier and Type | Method and Description |
|---|---|
TreeSelectionListener[] |
DefaultTreeSelectionModel.getTreeSelectionListeners()
Returns an array of all the tree selection listeners
registered on this model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeSelectionModel.addTreeSelectionListener(TreeSelectionListener x)
Adds x to the list of listeners that are notified each time the
set of selected TreePaths changes.
|
void |
DefaultTreeSelectionModel.addTreeSelectionListener(TreeSelectionListener x)
Adds x to the list of listeners that are notified each time the
set of selected TreePaths changes.
|
void |
TreeSelectionModel.removeTreeSelectionListener(TreeSelectionListener x)
Removes x from the list of listeners that are notified each time
the set of selected TreePaths changes.
|
void |
DefaultTreeSelectionModel.removeTreeSelectionListener(TreeSelectionListener x)
Removes x from the list of listeners that are notified each time
the set of selected TreePaths changes.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.