javax.swing.plaf.basic

Class BasicTreeUI.TreeExpansionHandler

public class BasicTreeUI.TreeExpansionHandler extends Object implements TreeExpansionListener

Updates the TreeState in response to nodes expanding/collapsing.
Constructor Summary
TreeExpansionHandler()
Constructor
Method Summary
voidtreeCollapsed(TreeExpansionEvent event)
Called whenever an item in the tree has been collapsed.
voidtreeExpanded(TreeExpansionEvent event)
Called whenever an item in the tree has been expanded.

Constructor Detail

TreeExpansionHandler

public TreeExpansionHandler()
Constructor

Method Detail

treeCollapsed

public void treeCollapsed(TreeExpansionEvent event)
Called whenever an item in the tree has been collapsed.

Parameters: event is the event that occured

treeExpanded

public void treeExpanded(TreeExpansionEvent event)
Called whenever an item in the tree has been expanded.

Parameters: event is the event that occured