T - Value typeB - Actual builder typepublic interface BaseSelectModeSingleSelectInputBuilder<T,B extends BaseSelectModeSingleSelectInputBuilder<T,B>> extends SingleSelectInputBuilder<T,B>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BaseSelectModeSingleSelectInputBuilder.NativeModeSingleSelectInputBuilder<T>
A
SingleSelectInputBuilder for RenderingMode#NATIVE_SELECT. |
static interface |
BaseSelectModeSingleSelectInputBuilder.OptionsModeSingleSelectInputBuilder<T>
A
SingleSelectInputBuilder for RenderingMode#OPTIONS. |
static interface |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T>
A
SingleSelectInputBuilder for RenderingMode#SELECT. |
SingleSelectInputBuilder.GenericSingleSelectInputBuilder<T>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 |
emptySelectionAllowed(boolean emptySelectionAllowed)
Sets whether the user is allowed to select nothing.
|
B |
emptySelectionCaption(com.holonplatform.core.i18n.Localizable caption)
Sets the empty selection caption.
|
default B |
emptySelectionCaption(String caption)
Sets the empty selection caption.
|
default B |
emptySelectionCaption(String defaultCaption,
String messageCode,
Object... arguments)
Sets the empty selection caption using a localizable
messageCode. |
dataSource, dataSourcedataSource, dataSourceaddItem, addItem, addItem, addItem, items, itemsitemCaption, 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 emptySelectionAllowed(boolean emptySelectionAllowed)
emptySelectionAllowed - true to allow not selecting anything, false to require selectiondefault B emptySelectionCaption(String caption)
caption - the empty selection caption to set, null for nonedefault B emptySelectionCaption(String defaultCaption, String messageCode, Object... arguments)
messageCode.
For caption localization, a LocalizationContext must be available and localized as Context
resource when component is built or when component is displayed if InputBuilder.deferLocalization() is
true.
defaultCaption - Default message if no translation is available for given messageCode for
current Locale.messageCode - the empty selection caption translation message keyarguments - Optional translation argumentsB emptySelectionCaption(com.holonplatform.core.i18n.Localizable caption)
For caption localization, a LocalizationContext must be available and localized as Context
resource when component is built or when component is displayed if InputBuilder.deferLocalization() is
true.
caption - Localizable empty selection captionCopyright © 2019 The Holon Platform. All rights reserved.