T - Value typepublic static interface BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> extends BaseSelectModeSinglePropertySelectInputBuilder<T,BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T>>
SinglePropertySelectInputBuilder for RenderingMode#SELECT.BaseSelectModeSinglePropertySelectInputBuilder.NativeModeSinglePropertySelectInputBuilder<T>, BaseSelectModeSinglePropertySelectInputBuilder.OptionsModeSinglePropertySelectInputBuilder<T>, BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T>SinglePropertySelectInputBuilder.GenericSinglePropertySelectInputBuilder<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 |
|---|---|
BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> |
captionQueryFilter(com.vaadin.server.SerializableFunction<String,com.holonplatform.core.query.QueryFilter> filterProvider)
Set the function to provide the
QueryFilter to use with the data provider when user types a caption
filter String. |
BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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.
|
BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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 BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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 BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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. |
BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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.
|
BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> |
suggestionPopupWidth(String width)
Sets the suggestion pop-up's width as a CSS string.
|
emptySelectionAllowed, emptySelectionCaption, emptySelectionCaption, emptySelectionCaptionaddItem, 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, withShortcutListenerdataSource, dataSource, dataSource, itemConverterdefault BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> inputPrompt(String inputPrompt)
The input prompt is available only in RenderingMode#SELECT mode.
inputPrompt - the input prompt to set, null for nonedefault BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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 argumentsBaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<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 promptBaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> disableTextInput()
BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> scrollToSelectedItem(boolean scrollToSelectedItem)
scrollToSelectedItem - true to find the page with the selected item when opening the selection popupBaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> suggestionPopupWidth(String width)
Only applies to select field with backing components supporting a suggestion popup.
width - the suggestion pop-up widthBaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> captionQueryFilter(com.vaadin.server.SerializableFunction<String,com.holonplatform.core.query.QueryFilter> filterProvider)
QueryFilter to use with the data provider when user types a caption
filter String.filterProvider - caption QueryFilter providerCopyright © 2019 The Holon Platform. All rights reserved.