C - Concrete configurator typepublic interface HasStyleConfigurator<C extends HasStyleConfigurator<C>>
HasStyle type components.| Modifier and Type | Interface and Description |
|---|---|
static interface |
HasStyleConfigurator.BaseHasStyleConfigurator
Base
HasStyleConfigurator. |
| Modifier and Type | Method and Description |
|---|---|
static HasStyleConfigurator.BaseHasStyleConfigurator |
create(com.vaadin.flow.component.HasStyle component)
Create a new
HasStyleConfigurator.BaseHasStyleConfigurator. |
C |
styleName(String styleName)
Adds a CSS style class names to this component.
|
C |
styleNames(String... styleNames)
Adds one or more CSS style class names to this component.
|
C styleNames(String... styleNames)
styleNames - The CSS style class names to be added to the componentC styleName(String styleName)
Multiple styles can be specified as a space-separated list of style names.
styleName - The CSS style class name to be added to the componentstatic HasStyleConfigurator.BaseHasStyleConfigurator create(com.vaadin.flow.component.HasStyle component)
HasStyleConfigurator.BaseHasStyleConfigurator.component - Component to configure (not null)HasStyleConfigurator.BaseHasStyleConfiguratorCopyright © 2020 The Holon Platform. All rights reserved.