Interface HasScope

  • All Superinterfaces:
    com.vaadin.flow.component.HasElement, Serializable
    All Known Implementing Classes:
    TableHeaderCell

    public interface HasScope
    extends com.vaadin.flow.component.HasElement
    A mixing interface for components, that have a "scope" attribute.
    Author:
    Stefan Uebe
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default String getScope()
      Returns the scope attribute of this instance.
      default void resetScope()
      Resets the scope to its default.
      default void setScope​(String scope)
      Sets the scope attribute for this instance.
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
    • Method Detail

      • setScope

        default void setScope​(String scope)
        Sets the scope attribute for this instance. Any compliance checks are delegated to the browser.
        Parameters:
        scope - scope
      • getScope

        default String getScope()
        Returns the scope attribute of this instance. The value is null, when no attribute has been set for this instance, which means, that on the client side it depends on the actual table structure.
        Returns:
        scope
      • resetScope

        default void resetScope()
        Resets the scope to its default. The default value on the server side is null; on the client side it depends on the actual table structure.