C - Concrete configurator typepublic interface HasTextConfigurator<C extends HasTextConfigurator<C>>
HasText type components.| Modifier and Type | Method and Description |
|---|---|
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 argumentsLocalizationProviderCopyright © 2019 The Holon Platform. All rights reserved.