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

public static class FTabSheet.FSelectedTabChangeEvent extends Event implements HasUserOriginated
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

    Constructors
    Constructor
    Description
    FSelectedTabChangeEvent(com.vaadin.flow.component.Component source, boolean userOriginated)
    New instance of selected tab change event
  • Method Summary

    Modifier and Type
    Method
    Description
    FTabSheet where the event occurred.
    boolean
    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.featurepack.ui.Event

    getComponent

    Methods inherited from class com.vaadin.flow.component.ComponentEvent

    getSource, getUI, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 - true if the event originates from the client side, false otherwise
  • 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:
      isUserOriginated in interface HasUserOriginated
      Returns:
      true if this event originates from the client, false otherwise.
    • getTabSheet

      public FTabSheet getTabSheet()
      FTabSheet where the event occurred.
      Returns:
      the Source of the event.