ITEM - Item typeC - Concrete configurator typepublic interface HasItemCaptionConfigurator<ITEM,C extends HasItemCaptionConfigurator<ITEM,C>>
| Modifier and Type | Method and Description |
|---|---|
C |
itemCaption(ITEM item,
com.holonplatform.core.i18n.Localizable caption)
Set an explicit caption for given item.
|
default C |
itemCaption(ITEM item,
String caption)
Set an explicit caption for given item.
|
default C |
itemCaption(ITEM item,
String caption,
String messageCode)
Set an explicit caption for given item.
|
C |
itemCaptionGenerator(ItemSetConfigurator.ItemCaptionGenerator<ITEM> itemCaptionGenerator)
Set the generator to be used to display item captions (i.e. labels).
|
C itemCaptionGenerator(ItemSetConfigurator.ItemCaptionGenerator<ITEM> itemCaptionGenerator)
itemCaptionGenerator - The generator to set (not null)C itemCaption(ITEM item, com.holonplatform.core.i18n.Localizable caption)
This is an alternative for
itemCaptionGenerator(com.holonplatform.vaadin.flow.components.builders.ItemSetConfigurator.ItemCaptionGenerator).
When an ItemCaptionGenerator is configured, explicit item captions will be ignored.
item - Item to set the caption for (not null)caption - Item caption (not null)default C itemCaption(ITEM item, String caption)
item - Item to set the caption for (not null)caption - Item captionCopyright © 2019 The Holon Platform. All rights reserved.