Package io.jmix.ui.component
Class Collapsable.ExpandedStateChangeEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.component.Collapsable.ExpandedStateChangeEvent
- All Implemented Interfaces:
HasUserOriginated
,Serializable
- Enclosing interface:
- Collapsable
public static class Collapsable.ExpandedStateChangeEvent
extends EventObject
implements HasUserOriginated
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionExpandedStateChangeEvent
(Collapsable component, boolean expanded, boolean userOriginated) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returns whether this event was triggered by user interaction or programmatically.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ExpandedStateChangeEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
isExpanded
public boolean isExpanded()- Returns:
- true if Component has been expanded.
-
isUserOriginated
public boolean isUserOriginated()Description copied from interface:HasUserOriginated
Returns whether this event was triggered by user interaction or programmatically.- Specified by:
isUserOriginated
in interfaceHasUserOriginated
- Returns:
true
if this event originates by user interaction,false
otherwise.
-