Uses of Interface
javax.swing.event.TreeSelectionListener
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
Provides classes and interfaces for dealing with
javax.swing.JTree
.-
Uses of TreeSelectionListener in com.sun.java.accessibility.util
Modifier and TypeMethodDescriptionstatic void
SwingEventMonitor.addTreeSelectionListener
(TreeSelectionListener l) Adds the specified listener to receive allTREESELECTION
events on each component instance in the Java Virtual Machine as they occur.static void
SwingEventMonitor.removeTreeSelectionListener
(TreeSelectionListener l) Removes the specified listener so it no longer receivesTREESELECTION
events when they occur. -
Uses of TreeSelectionListener in javax.swing
Modifier and TypeClassDescriptionprotected class
This class implements accessibility support for theJTree
class.protected class
Handles creating a newTreeSelectionEvent
with theJTree
as the source and passing it off to all the listeners.Modifier and TypeMethodDescriptionJTree.getTreeSelectionListeners()
Returns an array of all theTreeSelectionListener
s added to this JTree with addTreeSelectionListener().Modifier and TypeMethodDescriptionvoid
JTree.addTreeSelectionListener
(TreeSelectionListener tsl) Adds a listener forTreeSelection
events.void
JTree.EmptySelectionModel.addTreeSelectionListener
(TreeSelectionListener listener) This is overriden to do nothing;EmptySelectionModel
does not allow a selection.void
JTree.EmptySelectionModel.removeTreeSelectionListener
(TreeSelectionListener listener) This is overriden to do nothing;EmptySelectionModel
does not allow a selection.void
JTree.removeTreeSelectionListener
(TreeSelectionListener tsl) Removes aTreeSelection
listener. -
Uses of TreeSelectionListener in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
Listens for changes in the selection model and updates the display accordingly.Modifier and TypeMethodDescriptionprotected TreeSelectionListener
BasicTreeUI.createTreeSelectionListener()
Creates the listener that updates the display based on selection change methods. -
Uses of TreeSelectionListener in javax.swing.tree
Modifier and TypeMethodDescriptionDefaultTreeSelectionModel.getTreeSelectionListeners()
Returns an array of all the tree selection listeners registered on this model.Modifier and TypeMethodDescriptionvoid
DefaultTreeSelectionModel.addTreeSelectionListener
(TreeSelectionListener x) Adds x to the list of listeners that are notified each time the set of selected TreePaths changes.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.removeTreeSelectionListener
(TreeSelectionListener x) Removes x from 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.