T - Value typeC - Input typeS - Selection typeITEM - Selection items typeB - Concrete builder typepublic interface SelectInputBuilder<T,C extends Input<T>,S,ITEM,B extends SelectInputBuilder<T,C,S,ITEM,B>> extends BaseSelectInputBuilder<T,C,S,ITEM,B>
Inputs.BaseSelectInputBuilder.MultiSelectConfigurator<T,ITEM,B extends BaseSelectInputBuilder.MultiSelectConfigurator<T,ITEM,B>>, BaseSelectInputBuilder.RenderingMode, BaseSelectInputBuilder.SingleSelectConfigurator<T,ITEM,B extends BaseSelectInputBuilder.SingleSelectConfigurator<T,ITEM,B>>InputConfigurator.BaseFieldConfigurator<T>ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
B |
addItem(ITEM item)
Add a selection item to current selection item set.
|
default B |
addItem(ITEM item,
com.holonplatform.core.i18n.Localizable caption)
Add a selection item to current selection item set, providing an explicit item caption.
|
default B |
addItem(ITEM item,
String caption)
Add a selection item to current selection item set, providing an explicit item caption.
|
default B |
addItem(ITEM item,
String caption,
String messageCode)
Add a selection item to current selection item set, providing an explicit item caption.
|
default B |
items(ITEM... items)
Set the given items as selection item set.
|
B |
items(Iterable<ITEM> items)
Set the given items as selection item set.
|
itemCaption, itemCaption, itemCaption, itemCaptionGenerator, itemDescriptionGenerator, itemIcon, itemIconGeneratorasField, build, deferLocalization, dragSource, dropTarget, validatablelocale, readOnly, tabIndex, withValue, withValueChangeListenercaption, 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 items(Iterable<ITEM> items)
When selection items are explicitly setted, any item data source is ignored.
items - Items to set (not null)default B items(ITEM... items)
When selection items are explicitly setted, any item data source is ignored.
items - Items to set (not null)B addItem(ITEM item)
When selection items are explicitly setted, any item data source is ignored.
item - Item to add (not null)default B addItem(ITEM item, com.holonplatform.core.i18n.Localizable caption)
When selection items are explicitly setted, any item data source is ignored.
Note that if an ItemSet.ItemCaptionGenerator is setted, the explicit caption is overridden by the caption
provided by the generator.
item - Item to add (not null)caption - Localizable item captiondefault B addItem(ITEM item, String caption, String messageCode)
When selection items are explicitly setted, any item data source is ignored.
Note that if an ItemSet.ItemCaptionGenerator is setted, the explicit caption is overridden by the caption
provided by the generator.
item - Item to add (not null)caption - Item captionmessageCode - Item caption translation codedefault B addItem(ITEM item, String caption)
When selection items are explicitly setted, any item data source is ignored.
Note that if an ItemSet.ItemCaptionGenerator is setted, the explicit caption is overridden by the caption
provided by the generator.
item - Item to add (not null)caption - Item captionCopyright © 2019 The Holon Platform. All rights reserved.