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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the scope attribute of this instance.
    default void
    Resets the scope to its default.
    default void
    Sets the scope attribute for this instance.

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

    getElement
  • Field Details

  • Method Details

    • 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.