public abstract class TreeAdapter extends java.lang.Object implements TreeListener
TreeListener
interface.
Classes that wish to deal with TreeEvent
s can
extend this class and override only the methods which they are
interested in.
Constructor and Description |
---|
TreeAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
treeCollapsed(TreeEvent e)
Sent when a tree branch is collapsed.
|
void |
treeExpanded(TreeEvent e)
Sent when a tree branch is expanded.
|
public void treeCollapsed(TreeEvent e)
treeCollapsed
in interface TreeListener
e
- an event containing information about the tree operationpublic void treeExpanded(TreeEvent e)
treeExpanded
in interface TreeListener
e
- an event containing information about the tree operation