Interface HasScope
-
- All Superinterfaces:
com.vaadin.flow.component.HasElement,Serializable
- All Known Implementing Classes:
TableHeaderCell
public interface HasScope extends com.vaadin.flow.component.HasElementA mixing interface for components, that have a "scope" attribute.- Author:
- Stefan Uebe
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTRIBUTE_SCOPE
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringgetScope()Returns the scope attribute of this instance.default voidresetScope()Resets the scope to its default.default voidsetScope(String scope)Sets the scope attribute for this instance.
-
-
-
Field Detail
-
ATTRIBUTE_SCOPE
static final String ATTRIBUTE_SCOPE
- See Also:
- Constant Field Values
-
-
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.
-
-