C - Concrete configurator typepublic interface HasTextConfigurator<C extends HasTextConfigurator<C>>
HasText type components.| Modifier and Type | Interface and Description |
|---|---|
static interface |
HasTextConfigurator.BaseHasTextConfigurator
Base
HasTextConfigurator. |
| Modifier and Type | Method and Description |
|---|---|
static HasTextConfigurator.BaseHasTextConfigurator |
create(com.vaadin.flow.component.HasText component)
Create a new
HasTextConfigurator.BaseHasTextConfigurator. |
static HasTextConfigurator.BaseHasTextConfigurator |
create(com.vaadin.flow.component.HasText component,
HasDeferrableLocalization deferrableLocalization)
Create a new
HasTextConfigurator.BaseHasTextConfigurator. |
C |
text(com.holonplatform.core.i18n.Localizable text)
Sets the text content using a
Localizable message. |
default C |
text(String text)
Sets the text content, replacing any previous content.
|
default C |
text(String defaultText,
String messageCode,
Object... arguments)
Sets the text content using a localizable
messageCode. |
C text(com.holonplatform.core.i18n.Localizable text)
Localizable message.
The text value is interpred as plain text and the HTML markup is not supported.
A null value is interpreted as an empty text.
text - Localizable text content message (may be null)LocalizationProviderdefault C text(String text)
The text value is interpred as plain text and the HTML markup is not supported.
A null text value is interpreted as an empty text.
text - The text content to setdefault C text(String defaultText, String messageCode, Object... arguments)
messageCode.
The text value is interpred as plain text and the HTML markup is not supported.
defaultText - Default text content if no translation is available for given messageCodemessageCode - Text translation message keyarguments - Optional translation argumentsLocalizationProviderstatic HasTextConfigurator.BaseHasTextConfigurator create(com.vaadin.flow.component.HasText component)
HasTextConfigurator.BaseHasTextConfigurator.component - Component to configure (not null)HasTextConfigurator.BaseHasTextConfiguratorstatic HasTextConfigurator.BaseHasTextConfigurator create(com.vaadin.flow.component.HasText component, HasDeferrableLocalization deferrableLocalization)
HasTextConfigurator.BaseHasTextConfigurator.component - Component to configure (not null)deferrableLocalization - Deferrable localization providerHasTextConfigurator.BaseHasTextConfiguratorCopyright © 2020 The Holon Platform. All rights reserved.