| Package | Description |
|---|---|
| com.holonplatform.vaadin.components | |
| com.holonplatform.vaadin.components.builders |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
Components.input.enumSingle(Class<E> type)
Gets a builder to create a single selection
Input with given Enum class as data source, using
all enum constants as selection items and default BaseSelectInputBuilder.RenderingMode.SELECT rendering mode. |
static <T> BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
SingleSelect.select(Class<? extends T> type)
Gets a builder to create a
SingleSelect using BaseSelectInputBuilder.RenderingMode.SELECT. |
static <T> BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
Components.input.singleSelect(Class<? extends T> type)
Gets a builder to create a single selection
Input using BaseSelectInputBuilder.RenderingMode.SELECT. |
| Modifier and Type | Method and Description |
|---|---|
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.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> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.filteringMode(com.vaadin.ui.ComboBox.CaptionFilter captionFilter)
Sets the option filtering strategy.
|
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.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> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.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> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.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> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.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> |
BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder.suggestionPopupWidth(String width)
Sets the suggestion pop-up's width as a CSS string.
|
Copyright © 2019 The Holon Platform. All rights reserved.