Package org.dellroad.stuff.vaadin7
Annotation Type FieldBuilder.ComboBox
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.ComboBox
Specifies how a Java property should be edited in Vaadin using anComboBox.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description FilteringModefilteringModeGet the filtering mode.StringinputPromptGet the input prompt.intpageLengthGet the page length.booleanscrollToSelectedItemGet whether to scroll to the selected item.booleantextInputAllowedGet whether text input is allowed.Class<? extends ComboBox>typeGet theComboBoxtype that will edit the property.
-
-
-
-
inputPrompt
String inputPrompt
Get the input prompt.- Returns:
- input prompt
- See Also:
ComboBox.setInputPrompt(java.lang.String)
- Default:
- ""
-
-
-
pageLength
int pageLength
Get the page length.- Returns:
- page length, or -1 for none
- See Also:
ComboBox.setPageLength(int)
- Default:
- -1
-
-
-
scrollToSelectedItem
boolean scrollToSelectedItem
Get whether to scroll to the selected item.- Returns:
- true to scroll to the selected item
- See Also:
ComboBox.setScrollToSelectedItem(boolean)
- Default:
- true
-
-
-
textInputAllowed
boolean textInputAllowed
Get whether text input is allowed.- Returns:
- true to allow text input
- See Also:
ComboBox.setTextInputAllowed(boolean)
- Default:
- true
-
-
-
filteringMode
FilteringMode filteringMode
Get the filtering mode.- Returns:
- filtering mode
- See Also:
ComboBox.setFilteringMode(com.vaadin.shared.ui.combobox.FilteringMode)
- Default:
- com.vaadin.shared.ui.combobox.FilteringMode.STARTSWITH
-
-