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.
and
ExpandListener#itemExpandedAdapter(java.,
which accept a lambda expression or a method reference that implements the event consumer.
ExpandListener, ExpandEvent, Sample code and further information
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | itemCollapsed(ExpandEvent
an event containing information about the operation e)Implements org. |
| public void | itemExpanded(ExpandEvent
an event containing information about the operation e)Implements org. |
| ExpandAdapter | back to summary |
|---|---|
| public ExpandAdapter() | |
| itemCollapsed | back to summary |
|---|---|
| public void itemCollapsed(ExpandEvent e) Implements org. Sent when an item is collapsed. The default behavior is to do nothing.
| |
| itemExpanded | back to summary |
|---|---|
| public void itemExpanded(ExpandEvent e) Implements org. Sent when an item is expanded. The default behavior is to do nothing.
| |