Package | Description |
---|---|
com.vaadin.flow.component | |
com.vaadin.flow.dom | |
com.vaadin.flow.dom.impl | |
com.vaadin.flow.internal.nodefeature |
Modifier and Type | Method and Description |
---|---|
default Style |
HasStyle.getStyle()
Gets the style instance for managing inline styles for the element of
this component.
|
Modifier and Type | Method and Description |
---|---|
Style |
Style.clear()
Removes all set style properties.
|
Style |
Element.getStyle()
Gets the style instance for managing element inline styles.
|
Style |
ElementStateProvider.getStyle(StateNode node)
Returns a style instance for managing element inline styles.
|
Style |
Style.remove(String name)
Removes the given style property if it has been set.
|
Style |
Style.set(String name,
String value)
Sets the given style property to the given value.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicElementStyle
Implementation of
Style for BasicElementStateProvider . |
class |
ImmutableEmptyStyle
A style implementation which is empty and immutable.
|
Modifier and Type | Method and Description |
---|---|
Style |
ImmutableEmptyStyle.clear() |
Style |
BasicElementStyle.clear() |
Style |
ShadowRootStateProvider.getStyle(StateNode node) |
Style |
BasicElementStateProvider.getStyle(StateNode node) |
Style |
AbstractTextElementStateProvider.getStyle(StateNode node) |
Style |
ImmutableEmptyStyle.remove(String name) |
Style |
BasicElementStyle.remove(String name) |
Style |
ImmutableEmptyStyle.set(String name,
String value) |
Style |
BasicElementStyle.set(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
Style |
ElementStylePropertyMap.getStyle()
Returns a style instance for managing element inline styles.
|
Copyright © 2021. All rights reserved.