public interface TreeListener
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 operation
Copyright (c) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0