You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.tabs.

Class GeneratedVaadinTab<R extends GeneratedVaadinTab<R>>

    • Constructor Detail

      • GeneratedVaadinTab

        public GeneratedVaadinTab()
    • Method Detail

      • addThemeVariants

        public void addThemeVariants​(TabVariant... variants)

        Adds theme variants to the component.

        Parameters:

        variants - theme variants to add

      • removeThemeVariants

        public void removeThemeVariants​(TabVariant... variants)

        Removes theme variants from the component.

        Parameters:

        variants - theme variants to remove

      • getValueString

        protected String getValueString()

        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

        protected void setValue​(String value)

        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

        protected boolean isDisabledBoolean()

        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

        protected void setDisabled​(boolean disabled)

        Description copied from corresponding location in WebComponent:

        If true, the user cannot interact with this element.

        Parameters:

        disabled - the boolean value to set

      • isSelectedBoolean

        protected boolean isSelectedBoolean()

        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

        protected void setSelected​(boolean selected)

        Description copied from corresponding location in WebComponent:

        If true, the item is in selected state.

        Parameters:

        selected - the boolean value to set