Uses of Interface
javax.swing.event.TreeSelectionListener
Packages that use 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
Methods in com.sun.java.accessibility.util with parameters of type TreeSelectionListenerModifier and TypeMethodDescriptionstatic voidSwingEventMonitor.addTreeSelectionListener(TreeSelectionListener l) Adds the specified listener to receive allTREESELECTIONevents on each component instance in the Java Virtual Machine as they occur.static voidSwingEventMonitor.removeTreeSelectionListener(TreeSelectionListener l) Removes the specified listener so it no longer receivesTREESELECTIONevents when they occur. -
Uses of TreeSelectionListener in javax.swing
Classes in javax.swing that implement TreeSelectionListenerModifier and TypeClassDescriptionprotected classThis class implements accessibility support for theJTreeclass.protected classHandles creating a newTreeSelectionEventwith theJTreeas the source and passing it off to all the listeners.Methods in javax.swing that return TreeSelectionListenerModifier and TypeMethodDescriptionJTree.getTreeSelectionListeners()Returns an array of all theTreeSelectionListeners added to this JTree with addTreeSelectionListener().Methods in javax.swing with parameters of type TreeSelectionListenerModifier and TypeMethodDescriptionvoidJTree.addTreeSelectionListener(TreeSelectionListener tsl) Adds a listener forTreeSelectionevents.voidJTree.EmptySelectionModel.addTreeSelectionListener(TreeSelectionListener listener) This is overridden to do nothing;EmptySelectionModeldoes not allow a selection.voidJTree.EmptySelectionModel.removeTreeSelectionListener(TreeSelectionListener listener) This is overridden to do nothing;EmptySelectionModeldoes not allow a selection.voidJTree.removeTreeSelectionListener(TreeSelectionListener tsl) Removes aTreeSelectionlistener. -
Uses of TreeSelectionListener in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement TreeSelectionListenerModifier and TypeClassDescriptionclassListens for changes in the selection model and updates the display accordingly.Methods in javax.swing.plaf.basic that return TreeSelectionListenerModifier and TypeMethodDescriptionprotected TreeSelectionListenerBasicTreeUI.createTreeSelectionListener()Creates the listener that updates the display based on selection change methods. -
Uses of TreeSelectionListener in javax.swing.tree
Classes in javax.swing.tree that implement TreeSelectionListenerMethods in javax.swing.tree that return TreeSelectionListenerModifier and TypeMethodDescriptionDefaultTreeSelectionModel.getTreeSelectionListeners()Returns an array of all the tree selection listeners registered on this model.Methods in javax.swing.tree with parameters of type TreeSelectionListenerModifier and TypeMethodDescriptionvoidDefaultTreeSelectionModel.addTreeSelectionListener(TreeSelectionListener x) Adds x to the list of listeners that are notified each time the set of selected TreePaths changes.voidTreeSelectionModel.addTreeSelectionListener(TreeSelectionListener x) Adds x to the list of listeners that are notified each time the set of selected TreePaths changes.voidDefaultTreeSelectionModel.removeTreeSelectionListener(TreeSelectionListener x) Removes x from the list of listeners that are notified each time the set of selected TreePaths changes.voidTreeSelectionModel.removeTreeSelectionListener(TreeSelectionListener x) Removes x from the list of listeners that are notified each time the set of selected TreePaths changes.