## Uses of Interface
javax.swing.event.TreeExpansionListener

Packages that use TreeExpansionListener
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.

### Uses of TreeExpansionListener in javax.swing

Classes in javax.swing that implement TreeExpansionListener
Modifier and Type | Class and Description
--- | ---
`protected class` | `JTree.AccessibleJTree` This class implements accessibility support for the `JTree` class.

Methods in javax.swing that return TreeExpansionListener
Modifier and Type | Method and Description
--- | ---
`TreeExpansionListener[]` | JTree.`getTreeExpansionListeners()` Returns an array of all the `TreeExpansionListener`s added to this JTree with addTreeExpansionListener().

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

### Uses of TreeExpansionListener in javax.swing.plaf.basic

Classes in javax.swing.plaf.basic that implement TreeExpansionListener
Modifier and Type | Class and Description
--- | ---
`class` | `BasicTreeUI.TreeExpansionHandler` Updates the TreeState in response to nodes expanding/collapsing.

Methods in javax.swing.plaf.basic that return TreeExpansionListener
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.

Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.