| 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.event | 
 Provides for events fired by Swing components. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
JTree.fireTreeWillCollapse(TreePath path)
Notifies all listeners that have registered interest for
 notification on this event type. 
 | 
void | 
JTree.fireTreeWillExpand(TreePath path)
Notifies all listeners that have registered interest for
 notification on this event type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TreeWillExpandListener.treeWillCollapse(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be collapsed. 
 | 
void | 
TreeWillExpandListener.treeWillExpand(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be expanded. 
 | 
 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.