public interface ExpandListener extends SWTEventListener
ExpandItems.
After creating an instance of a class that implements
this interface it can be added to a ExpandBar
control using the addExpandListener method and
removed using the removeExpandListener method.
When a item of the ExpandBar is expanded or
collapsed, the appropriate method will be invoked.
ExpandAdapter,
ExpandEvent| Modifier and Type | Method and Description |
|---|---|
void |
itemCollapsed(ExpandEvent e)
Sent when an item is collapsed.
|
static ExpandListener |
itemCollapsedAdapter(Consumer<ExpandEvent> c)
Static helper method to create a
ExpandListener for the
itemCollapsed(ExpandEvent e)) method, given a lambda expression or a method reference. |
void |
itemExpanded(ExpandEvent e)
Sent when an item is expanded.
|
static ExpandListener |
itemExpandedAdapter(Consumer<ExpandEvent> c)
Static helper method to create a
ExpandListener for the
itemExpanded(ExpandEvent e)) method, given a lambda expression or a method reference. |
void itemCollapsed(ExpandEvent e)
e - an event containing information about the operationvoid itemExpanded(ExpandEvent e)
e - an event containing information about the operationstatic ExpandListener itemCollapsedAdapter(Consumer<ExpandEvent> c)
ExpandListener for the
itemCollapsed(ExpandEvent e)) method, given a lambda expression or a method reference.c - the consumer of the eventstatic ExpandListener itemExpandedAdapter(Consumer<ExpandEvent> c)
ExpandListener for the
itemExpanded(ExpandEvent e)) method, given a lambda expression or a method reference.c - the consumer of the event
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.