Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Interface
javax.swing.event.TreeSelectionListener

Packages that use TreeSelectionListener
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
 

Uses of TreeSelectionListener in javax.swing
 

Classes in javax.swing that implement TreeSelectionListener
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.
 

Methods in javax.swing that return TreeSelectionListener
Modifier and Type Method and Description
 TreeSelectionListener[] JTree.getTreeSelectionListeners()
          Returns an array of all the TreeSelectionListeners added to this JTree with addTreeSelectionListener().
 

Methods in javax.swing with parameters of type TreeSelectionListener
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.
 

Uses of TreeSelectionListener in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement TreeSelectionListener
Modifier and Type Class and Description
 class BasicTreeUI.TreeSelectionHandler
          Listens for changes in the selection model and updates the display accordingly.
 

Methods in javax.swing.plaf.basic that return TreeSelectionListener
Modifier and Type Method and Description
protected  TreeSelectionListener BasicTreeUI.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 TreeSelectionListener
Modifier and Type Class and Description
 class DefaultTreeCellEditor
          A TreeCellEditor.
 

Methods in javax.swing.tree that return TreeSelectionListener
Modifier and Type Method and Description
 TreeSelectionListener[] DefaultTreeSelectionModel.getTreeSelectionListeners()
          Returns an array of all the tree selection listeners registered on this model.
 

Methods in javax.swing.tree with parameters of type TreeSelectionListener
Modifier and Type Method and Description
 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.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.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.