Class GroupListDataComponent.CollapseEvent<E>
java.lang.Object
java.util.EventObject
io.jmix.flowui.component.groupgrid.GroupListDataComponent.CollapseEvent<E>
- Type Parameters:
E- item type
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- GroupListDataComponent<E>
Event fired when a group collapsed.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCollapseEvent(GroupListDataComponent<E> source, boolean isFromClient, Collection<GroupInfo> collapsedGroups) -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this event originated from the client side.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
isFromClient
protected final boolean isFromClient -
collapsedGroups
-
-
Constructor Details
-
CollapseEvent
public CollapseEvent(GroupListDataComponent<E> source, boolean isFromClient, Collection<GroupInfo> collapsedGroups)
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
isFromClient
public boolean isFromClient()Checks if this event originated from the client side.- Returns:
trueif this event originated from the client side
-
getCollapsedGroups
- Returns:
- a collection of collapsed group items
-