T
- Value typepublic static interface BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> extends BaseSelectModeSingleSelectInputBuilder<T,BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T>>
SingleSelectInputBuilder
for RenderingMode#SELECT
.BaseSelectModeSingleSelectInputBuilder.NativeModeSingleSelectInputBuilder<T>, BaseSelectModeSingleSelectInputBuilder.OptionsModeSingleSelectInputBuilder<T>, BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T>
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 |
---|---|
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
disableTextInput()
Disables the possibility to input text into the field, so the field area of the component is just used to
show what is selected.
|
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
filteringMode(com.vaadin.ui.ComboBox.CaptionFilter captionFilter)
Sets the option filtering strategy.
|
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
inputPrompt(com.holonplatform.core.i18n.Localizable inputPrompt)
Sets the input prompt - a textual prompt that is displayed when the field would otherwise be empty, to prompt
the user for input - using a
Localizable message. |
default BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
inputPrompt(String inputPrompt)
Sets the input prompt - a textual prompt that is displayed when the field would otherwise be empty, to prompt
the user for input.
|
default BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
inputPrompt(String defaultInputPrompt,
String messageCode,
Object... arguments)
Sets the input prompt - a textual prompt that is displayed when the field would otherwise be empty, to prompt
the user for input - using a localizable
messageCode . |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
scrollToSelectedItem(boolean scrollToSelectedItem)
Sets whether to scroll the selected item visible (directly open the page on which it is) when opening the
combo box popup or not.
|
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
suggestionPopupWidth(String width)
Sets the suggestion pop-up's width as a CSS string.
|
emptySelectionAllowed, emptySelectionCaption, emptySelectionCaption, emptySelectionCaption
dataSource, dataSource
dataSource, dataSource
addItem, addItem, addItem, addItem, items, items
itemCaption, itemCaption, itemCaption, itemCaptionGenerator, itemDescriptionGenerator, itemIcon, itemIconGenerator
asField, build, deferLocalization, dragSource, dropTarget, validatable
locale, readOnly, tabIndex, withValue, withValueChangeListener
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, withShortcutListener
default BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> inputPrompt(String inputPrompt)
The input prompt is available only in RenderingMode#SELECT
mode.
inputPrompt
- the input prompt to set, null
for nonedefault BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> inputPrompt(String defaultInputPrompt, String messageCode, Object... arguments)
messageCode
.
For input prompt 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
.
The input prompt is available only in RenderingMode#SELECT
mode.
defaultInputPrompt
- Default message if no translation is available for given messageCode
for current Locale.messageCode
- Input prompt translation message keyarguments
- Optional translation argumentsBaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> inputPrompt(com.holonplatform.core.i18n.Localizable inputPrompt)
Localizable
message.
For input prompt 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
.
The input prompt is available only in RenderingMode#SELECT
mode.
inputPrompt
- Localizable input promptBaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> disableTextInput()
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> scrollToSelectedItem(boolean scrollToSelectedItem)
scrollToSelectedItem
- true to find the page with the selected item when opening the selection popupBaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> suggestionPopupWidth(String width)
Only applies to select field with backing components supporting a suggestion popup.
width
- the suggestion pop-up widthBaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> filteringMode(com.vaadin.ui.ComboBox.CaptionFilter captionFilter)
Only applies to select field with backing components supporting a suggestion popup.
captionFilter
- the caption filtering strategy to useCopyright © 2018 The Holon Platform. All rights reserved.