Home » openjdk-7 » javax » swing » event » [javadoc | source]
javax.swing.event
public interface: TreeExpansionListener [javadoc | source]

All Implemented Interfaces:
    java$util$EventListener

All Known Implementing Classes:
    AccessibleJTree, Handler, TreeExpansionHandler

The listener that's notified when a tree expands or collapses a node. For further documentation and examples see How to Write a Tree Expansion Listener, a section in The Java Tutorial.
Method from javax.swing.event.TreeExpansionListener Summary:
treeCollapsed,   treeExpanded
Method from javax.swing.event.TreeExpansionListener Detail:
 public  void treeCollapsed(TreeExpansionEvent event)
    Called whenever an item in the tree has been collapsed.
 public  void treeExpanded(TreeExpansionEvent event)
    Called whenever an item in the tree has been expanded.