Package org.eclipse.swt.events
Class TreeAdapter
java.lang.Object
org.eclipse.swt.events.TreeAdapter
- All Implemented Interfaces:
TreeListener
This adapter class provides default implementations for the methods described
by the
TreeListener
interface.
Classes that wish to deal with TreeEvent
s can extend this
class and override only the methods which they are interested in.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sent when a tree branch is collapsed.void
Sent when a tree branch is expanded.
-
Constructor Details
-
TreeAdapter
public TreeAdapter()
-
-
Method Details
-
treeCollapsed
Sent when a tree branch is collapsed. The default behavior is to do nothing.- Specified by:
treeCollapsed
in interfaceTreeListener
- Parameters:
e
- an event containing information about the tree operation
-
treeExpanded
Sent when a tree branch is expanded. The default behavior is to do nothing.- Specified by:
treeExpanded
in interfaceTreeListener
- Parameters:
e
- an event containing information about the tree operation
-