javax.swing.event

Interface TreeWillExpandListener

public interface TreeWillExpandListener extends EventListener

Method Summary
voidtreeWillCollapse(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be collapsed.
voidtreeWillExpand(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be expanded.

Method Detail

treeWillCollapse

public void treeWillCollapse(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be collapsed.

Parameters: event The tree expansion Event

treeWillExpand

public void treeWillExpand(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be expanded.

Parameters: event The tree expansion Event