Class GeneratedVaadinTab<R extends GeneratedVaadinTab<R>>

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, Serializable
    Direct Known Subclasses:
    Tab

    @Deprecated
    @Tag("vaadin-tab")
    @NpmPackage(value="@vaadin/polymer-legacy-adapter",version="23.6.2") @NpmPackage(value="@vaadin/tabs",version="23.6.2") @NpmPackage(value="@vaadin/vaadin-tabs",version="23.6.2")
    @JsModule("@vaadin/polymer-legacy-adapter/style-modules.js") @JsModule("@vaadin/tabs/src/vaadin-tab.js")
    public abstract class GeneratedVaadinTab<R extends GeneratedVaadinTab<R>>
    extends com.vaadin.flow.component.Component
    implements com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme
    Deprecated.
    since v23.3, generated classes will be removed in v24.

    Description copied from corresponding location in WebComponent:

    <vaadin-tab> is a Web Component providing an accessible and customizable tab.

    <vaadin-tab> Tab 1 </vaadin-tab>

    The following state attributes are available for styling:

    Attribute Description Part name
    disabled Set to a disabled tab :host
    focused Set when the element is focused :host
    focus-ring Set when the element is keyboard focused :host
    selected Set when the tab is selected :host
    active Set when mousedown or enter/spacebar pressed :host
    orientation Set to horizontal or vertical depending on the direction of items :host

    See ThemableMixin – how to apply styles for shadow parts

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneratedVaadinTab()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addThemeVariants​(TabVariant... variants)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected String getValueString()
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected boolean isDisabledBoolean()
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected boolean isSelectedBoolean()
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      void removeThemeVariants​(TabVariant... variants)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected void setDisabled​(boolean disabled)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected void setSelected​(boolean selected)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      protected void setValue​(String value)
      Deprecated.
      since v23.3, generated classes will be removed in v24.
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
    • Constructor Detail

      • GeneratedVaadinTab

        public GeneratedVaadinTab()
        Deprecated.
    • Method Detail

      • addThemeVariants

        @Deprecated
        public void addThemeVariants​(TabVariant... variants)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Adds theme variants to the component.
        Parameters:
        variants - theme variants to add
      • removeThemeVariants

        @Deprecated
        public void removeThemeVariants​(TabVariant... variants)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Removes theme variants from the component.
        Parameters:
        variants - theme variants to remove
      • getValueString

        @Deprecated
        protected String getValueString()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        Submittable string value. The default value is the trimmed text content of the element.

        This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.

        Returns:
        the value property from the webcomponent
      • setValue

        @Deprecated
        protected void setValue​(String value)
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        Submittable string value. The default value is the trimmed text content of the element.

        Parameters:
        value - the String value to set
      • isDisabledBoolean

        @Deprecated
        protected boolean isDisabledBoolean()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        If true, the user cannot interact with this element.

        This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.

        Returns:
        the disabled property from the webcomponent
      • setDisabled

        @Deprecated
        protected void setDisabled​(boolean disabled)
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        If true, the user cannot interact with this element.

        Parameters:
        disabled - the boolean value to set
      • isSelectedBoolean

        @Deprecated
        protected boolean isSelectedBoolean()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        If true, the item is in selected state.

        This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.

        Returns:
        the selected property from the webcomponent
      • setSelected

        @Deprecated
        protected void setSelected​(boolean selected)
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        If true, the item is in selected state.

        Parameters:
        selected - the boolean value to set