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:
  • Constructor Details

    • ExpandedStateChangeEvent

      public ExpandedStateChangeEvent(Collapsable component, boolean expanded, boolean userOriginated)
  • Method Details

    • getSource

      public Collapsable getSource()
      Overrides:
      getSource in class EventObject
    • 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 interface HasUserOriginated
      Returns:
      true if this event originates by user interaction, false otherwise.