|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeListener
Classes which implement this interface provide methods that deal with the expanding and collapsing of tree branches.
After creating an instance of a class that implements
this interface it can be added to a tree control using the
addTreeListener
method and removed using
the removeTreeListener
method. When a branch
of the tree is expanded or collapsed, the appropriate method
will be invoked.
TreeAdapter
,
TreeEvent
Method Summary | |
---|---|
void |
treeCollapsed(TreeEvent e)
Sent when a tree branch is collapsed. |
void |
treeExpanded(TreeEvent e)
Sent when a tree branch is expanded. |
Method Detail |
---|
void treeCollapsed(TreeEvent e)
e
- an event containing information about the tree operationvoid treeExpanded(TreeEvent e)
e
- an event containing information about the tree operation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |