Class TabSheet.SelectedTabChangeEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.component.TabSheet.SelectedTabChangeEvent
All Implemented Interfaces:
HasUserOriginated, Serializable
Enclosing interface:
TabSheet

public static class TabSheet.SelectedTabChangeEvent extends EventObject implements HasUserOriginated
SelectedTabChangeEvents are fired when a selected tab is changed.
See Also:
  • Field Details

    • userOriginated

      protected final boolean userOriginated
  • Constructor Details

    • SelectedTabChangeEvent

      public SelectedTabChangeEvent(TabSheet tabSheet, TabSheet.Tab selectedTab)
    • SelectedTabChangeEvent

      public SelectedTabChangeEvent(Object source, TabSheet.Tab selectedTab, boolean userOriginated)
  • Method Details

    • getSource

      public TabSheet getSource()
      Overrides:
      getSource in class EventObject
    • getSelectedTab

      public TabSheet.Tab getSelectedTab()
      Returns:
      a selected tab
    • 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.