T - the expanded item's typepublic class ExpandEvent<T> extends Component.Event implements HasUserOriginated
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExpandEvent.ExpandListener<T>
Item expand event listener.
|
source| Constructor and Description |
|---|
ExpandEvent(Component source,
T expandedItem,
boolean userOriginated)
Construct an expand event.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getExpandedItem()
Get the expanded item that triggered this event.
|
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction, on the
client side, or programmatically, on the server side.
|
getComponentgetConnectorgetSource, toStringpublic ExpandEvent(Component source, T expandedItem, boolean userOriginated)
source - the hierarchical component this event originated fromexpandedItem - the item that was expandeduserOriginated - whether the expand was triggered by a user interaction or the
serverpublic T getExpandedItem()
public boolean isUserOriginated()
HasUserOriginatedisUserOriginated in interface HasUserOriginatedtrue if this event originates from the client,
false otherwise.Copyright © 2019 Vaadin Ltd. All rights reserved.