Package io.jmix.ui.component
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 Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSelectedTabChangeEvent
(TabSheet tabSheet, TabSheet.Tab selectedTab) SelectedTabChangeEvent
(Object source, TabSheet.Tab selectedTab, boolean userOriginated) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this event was triggered by user interaction or programmatically.Methods inherited from class java.util.EventObject
toString
-
Field Details
-
userOriginated
protected final boolean userOriginated
-
-
Constructor Details
-
SelectedTabChangeEvent
-
SelectedTabChangeEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
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 interfaceHasUserOriginated
- Returns:
true
if this event originates by user interaction,false
otherwise.
-