public interface TreeListener extends SWTEventListener
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
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.
|
void treeCollapsed(TreeEvent e)
e
- an event containing information about the tree operationvoid treeExpanded(TreeEvent e)
e
- an event containing information about the tree operationCopyright © 2017. All Rights Reserved.