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
ConstructorsConstructorDescriptionExpandedStateChangeEvent(Collapsable component, boolean expanded, boolean userOriginated)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanReturns 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:
 getSourcein classEventObject
 - 
isExpanded
public boolean isExpanded()- Returns:
 - true if Component has been expanded.
 
 - 
isUserOriginated
public boolean isUserOriginated()Description copied from interface:HasUserOriginatedReturns whether this event was triggered by user interaction or programmatically.- Specified by:
 isUserOriginatedin interfaceHasUserOriginated- Returns:
 trueif this event originates by user interaction,falseotherwise.
 
 -