javax.swing.event
Interface TreeWillExpandListener

All Superinterfaces:
EventListener

public interface TreeWillExpandListener
extends EventListener

Unsafe: The listener that's notified when a tree expands or collapses a node. For further information and examples see How to Write a Tree-Will-Expand Listener, a section in The Java Tutorial.

Version:
1.7 12/03/01
Author:
Scott Violet

Method Summary
 void treeWillCollapse(TreeExpansionEvent event)
          Enabled: Invoked whenever a node in the tree is about to be collapsed.
 void treeWillExpand(TreeExpansionEvent event)
          Enabled: Invoked whenever a node in the tree is about to be expanded.
 

Method Detail

treeWillExpand

public void treeWillExpand(TreeExpansionEvent event)
                    throws javax.swing.tree.ExpandVetoException
Enabled: Invoked whenever a node in the tree is about to be expanded.

javax.swing.tree.ExpandVetoException

treeWillCollapse

public void treeWillCollapse(TreeExpansionEvent event)
                      throws javax.swing.tree.ExpandVetoException
Enabled: Invoked whenever a node in the tree is about to be collapsed.

javax.swing.tree.ExpandVetoException


comments?