| 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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
JTree.AccessibleJTree
This class implements accessibility support for the
  
JTree class. | 
| Modifier and Type | Method and Description | 
|---|---|
TreeExpansionListener[] | 
JTree.getTreeExpansionListeners()
Returns an array of all the  
TreeExpansionListeners added
 to this JTree with addTreeExpansionListener(). | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
JTree.addTreeExpansionListener(TreeExpansionListener tel)
Adds a listener for  
TreeExpansion events. | 
void | 
JTree.removeTreeExpansionListener(TreeExpansionListener tel)
Removes a listener for  
TreeExpansion events. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BasicTreeUI.TreeExpansionHandler
Updates the TreeState in response to nodes expanding/collapsing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected TreeExpansionListener | 
BasicTreeUI.createTreeExpansionListener()
Creates and returns the object responsible for updating the treestate
 when nodes expanded state changes. 
 | 
 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, 2013, Oracle and/or its affiliates.  All rights reserved.