B - Concrete configurator typepublic interface LabelConfigurator<B extends LabelConfigurator<B>> extends ComponentConfigurator<B>
Label.| Modifier and Type | Interface and Description |
|---|---|
static interface |
LabelConfigurator.BaseLabelConfigurator
Base Label configurator.
|
ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
B |
content(com.holonplatform.core.i18n.Localizable content)
Sets the label content using a
Localizable message. |
B |
content(String content)
Sets the label content
|
B |
content(String defaultContent,
String messageCode,
Object... arguments)
Sets the label content using a localizable
messageCode. |
B |
contentMode(com.vaadin.shared.ui.ContentMode contentMode)
Sets the content mode of the Label.
|
B |
html()
A shortcut to set the content mode to
ContentMode.HTML |
caption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerB content(String content)
content - The content to setB content(String defaultContent, String messageCode, Object... arguments)
messageCode.defaultContent - Default content if no translation is available for given messageCode for
current Locale.messageCode - Content translation message keyarguments - Optional translation argumentsB content(com.holonplatform.core.i18n.Localizable content)
Localizable message.content - Localizable content messageB contentMode(com.vaadin.shared.ui.ContentMode contentMode)
contentMode - The content mode to setB html()
ContentMode.HTMLCopyright © 2019 The Holon Platform. All rights reserved.