public abstract class ExpandAdapter extends Object implements ExpandListener
ExpandListener interface.
Classes that wish to deal with ExpandEvents can
extend this class and override only the methods which they are
interested in.
An alternative to this class are the static helper methods
ExpandListener.itemCollapsedAdapter(java.util.function.Consumer)
and
ExpandListener.itemExpandedAdapter(java.util.function.Consumer),
which accept a lambda expression or a method reference that implements the event consumer.
ExpandListener,
ExpandEvent,
Sample code and further information| Constructor and Description |
|---|
ExpandAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
itemCollapsed(ExpandEvent e)
Sent when an item is collapsed.
|
void |
itemExpanded(ExpandEvent e)
Sent when an item is expanded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititemCollapsedAdapter, itemExpandedAdapterpublic void itemCollapsed(ExpandEvent e)
itemCollapsed in interface ExpandListenere - an event containing information about the operationpublic void itemExpanded(ExpandEvent e)
itemExpanded in interface ExpandListenere - an event containing information about the operation
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.