Package com.vaadin.featurepack.ui
Class FTabSheet.FSelectedTabChangeEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.featurepack.ui.Event
com.vaadin.featurepack.ui.FTabSheet.FSelectedTabChangeEvent
- All Implemented Interfaces:
HasUserOriginated,Serializable
- Enclosing class:
FTabSheet
Selected tab change event. This event is sent when the selected (shown)
tab in the tab sheet is changed.
This class corresponds with the Vaadin 8 variant of the event.
- Author:
- Vaadin Ltd.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFSelectedTabChangeEvent(com.vaadin.flow.component.Component source, boolean userOriginated) New instance of selected tab change event -
Method Summary
Modifier and TypeMethodDescriptionFTabSheet where the event occurred.booleanReturns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.Methods inherited from class com.vaadin.featurepack.ui.Event
getComponentMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
FSelectedTabChangeEvent
public FSelectedTabChangeEvent(com.vaadin.flow.component.Component source, boolean userOriginated) New instance of selected tab change event- Parameters:
source- the Source of the event.userOriginated-trueif the event originates from the client side,falseotherwise
-
-
Method Details
-
isUserOriginated
public boolean isUserOriginated()Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.- Specified by:
isUserOriginatedin interfaceHasUserOriginated- Returns:
trueif this event originates from the client,falseotherwise.
-
getTabSheet
FTabSheet where the event occurred.- Returns:
- the Source of the event.
-