com.vaadin.ui.
Class TabSheet.SelectedTabChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.TabSheet.SelectedTabChangeEvent
-
All Implemented Interfaces:
Enclosing class:
public static class TabSheet.SelectedTabChangeEvent extends Component.Event implements HasUserOriginated
Selected tab change event. This event is sent when the selected (shown) tab in the tab sheet is changed.
Since:
3.0
Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SelectedTabChangeEvent​(Component source, boolean userOriginated)
Creates a new instance of the event.
-
Method Summary
All Methods Modifier and Type Method Description TabSheet
getTabSheet()
The TabSheet where the event occurred.
boolean
isUserOriginated()
Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.
-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
SelectedTabChangeEvent
public SelectedTabChangeEvent​(Component source, boolean userOriginated)
Creates a new instance of the event.
Parameters:
source
- the source of the eventuserOriginated
-true
if the event originates from the client side,false
otherwiseSince:
8.1
-
-
Method Detail
-
getTabSheet
public TabSheet getTabSheet()
The TabSheet where the event occurred.
Returns:
the TabSheet where the event occurred
-
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:
isUserOriginated
in interfaceHasUserOriginated
Returns:
true
if this event originates from the client,false
otherwise.Since:
8.1
-
-