public interface

TreeWillExpandListener

implements EventListener
javax.swing.event.TreeWillExpandListener

Class Overview

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.

Summary

Public Methods
abstract void treeWillCollapse(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be collapsed.
abstract void treeWillExpand(TreeExpansionEvent event)
Invoked whenever a node in the tree is about to be expanded.

Public Methods

public abstract void treeWillCollapse (TreeExpansionEvent event)

Invoked whenever a node in the tree is about to be collapsed.

public abstract void treeWillExpand (TreeExpansionEvent event)

Invoked whenever a node in the tree is about to be expanded.