Annotation Interface FieldBuilder.ComboBox
- Enclosing class:
- FieldBuilder<T>
Specifies how a Java bean property should be edited using a
ComboBox
.- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Add the specified class names.String[]
Add the specified theme names.Add the specified theme variants.boolean
Get the value desired for theallowCustomValue
property.Get the value desired for theallowedCharPattern
property.Get the value desired for theariaLabel
property.Get the value desired for theariaLabelledBy
property.boolean
Get the value desired for theautofocus
property.boolean
Get the value desired for theautoOpen
property.boolean
Get the value desired for theclearButtonVisible
property.boolean
Get the value desired for theenabled
property.Get the value desired for theerrorMessage
property.Get the value desired for theheight
property.Get the class to instantiate for thehelperComponent
property.Get the value desired for thehelperText
property.Get the value desired for theid
property.Get the sub-type ofComboBox
that will edit the property.Class<? extends ItemLabelGenerator>
Get the class to instantiate for theitemLabelGenerator
property.Class<? extends DataProvider>
Get the class to instantiate for theitems
property.Get the value desired for thelabel
property.boolean
Get the value desired for themanualValidation
property.Get the value desired for themaxHeight
property.Get the value desired for themaxWidth
property.Get the value desired for theminHeight
property.Get the value desired for theminWidth
property.boolean
Get the value desired for theopened
property.Get the value desired for theoverlayClassName
property.Get the value desired for theoverlayWidth
property.int
Get the value desired for thepageSize
property.Get the value desired for thepattern
property.Get the value desired for theplaceholder
property.Get the class to instantiate for theprefixComponent
property.boolean
Get the value desired for thereadOnly
property.Get the class to instantiate for therenderer
property.boolean
Get the value desired for therequired
property.boolean
Get the value desired for therequiredIndicatorVisible
property.String[]
Specify CSS properties to be set viaStyle.set()
.int
Get the value desired for thetabIndex
property.Get the value desired for thetooltipText
property.boolean
Get the value desired for thevisible
property.Get the value desired for thewidth
property.
-
Element Details
-
implementation
Get the sub-type ofComboBox
that will edit the property.This property allows custom widget subclasses to be used.
The specified type must have a public constructor that takes either no arguments, or one
FieldBuilderContext
.- Returns:
- field type
- Default:
- com.vaadin.flow.component.combobox.ComboBox.class
-
styleProperties
String[] stylePropertiesSpecify CSS properties to be set viaStyle.set()
.The array value consists of name, value pairs. If the array has odd length, the last element is ignored.
- Default:
- {}
-
allowCustomValue
boolean allowCustomValueGet the value desired for theallowCustomValue
property.- Returns:
- desired
allowCustomValue
property value - See Also:
- Default:
- false
-
allowedCharPattern
String allowedCharPatternGet the value desired for theallowedCharPattern
property.- Returns:
- desired
allowedCharPattern
property value - See Also:
- Default:
- ""
-
ariaLabel
String ariaLabelGet the value desired for theariaLabel
property.- Returns:
- desired
ariaLabel
property value - See Also:
- Default:
- ""
-
ariaLabelledBy
String ariaLabelledByGet the value desired for theariaLabelledBy
property.- Returns:
- desired
ariaLabelledBy
property value - See Also:
- Default:
- ""
-
autoOpen
boolean autoOpenGet the value desired for theautoOpen
property.- Returns:
- desired
autoOpen
property value - See Also:
- Default:
- true
-
autofocus
boolean autofocusGet the value desired for theautofocus
property.- Returns:
- desired
autofocus
property value - See Also:
- Default:
- false
-
addClassNames
String[] addClassNamesAdd the specified class names.- Returns:
- zero or more class names to add
- See Also:
- Default:
- {}
-
clearButtonVisible
boolean clearButtonVisibleGet the value desired for theclearButtonVisible
property.- Returns:
- desired
clearButtonVisible
property value - See Also:
- Default:
- false
-
enabled
boolean enabledGet the value desired for theenabled
property.- Returns:
- desired
enabled
property value - See Also:
- Default:
- true
-
errorMessage
String errorMessageGet the value desired for theerrorMessage
property.- Returns:
- desired
errorMessage
property value - See Also:
- Default:
- ""
-
height
String heightGet the value desired for theheight
property.- Returns:
- desired
height
property value - See Also:
- Default:
- ""
-
helperComponent
Get the class to instantiate for thehelperComponent
property.- Returns:
- desired
helperComponent
property value type - See Also:
- Default:
- com.vaadin.flow.component.Component.class
-
helperText
String helperTextGet the value desired for thehelperText
property.- Returns:
- desired
helperText
property value - See Also:
- Default:
- ""
-
id
String idGet the value desired for theid
property.- Returns:
- desired
id
property value - See Also:
- Default:
- ""
-
itemLabelGenerator
Class<? extends ItemLabelGenerator> itemLabelGeneratorGet the class to instantiate for theitemLabelGenerator
property.- Returns:
- desired
itemLabelGenerator
property value type - See Also:
- Default:
- com.vaadin.flow.component.ItemLabelGenerator.class
-
items
Class<? extends DataProvider> itemsGet the class to instantiate for theitems
property.- Returns:
- desired
items
property value type - See Also:
- Default:
- com.vaadin.flow.data.provider.DataProvider.class
-
label
String labelGet the value desired for thelabel
property.- Returns:
- desired
label
property value - See Also:
- Default:
- ""
-
manualValidation
boolean manualValidationGet the value desired for themanualValidation
property.- Returns:
- desired
manualValidation
property value - See Also:
- Default:
- false
-
maxHeight
String maxHeightGet the value desired for themaxHeight
property.- Returns:
- desired
maxHeight
property value - See Also:
- Default:
- ""
-
maxWidth
String maxWidthGet the value desired for themaxWidth
property.- Returns:
- desired
maxWidth
property value - See Also:
- Default:
- ""
-
minHeight
String minHeightGet the value desired for theminHeight
property.- Returns:
- desired
minHeight
property value - See Also:
- Default:
- ""
-
minWidth
String minWidthGet the value desired for theminWidth
property.- Returns:
- desired
minWidth
property value - See Also:
- Default:
- ""
-
opened
boolean openedGet the value desired for theopened
property.- Returns:
- desired
opened
property value - See Also:
- Default:
- false
-
overlayClassName
String overlayClassNameGet the value desired for theoverlayClassName
property.- Returns:
- desired
overlayClassName
property value - See Also:
- Default:
- ""
-
overlayWidth
String overlayWidthGet the value desired for theoverlayWidth
property.- Returns:
- desired
overlayWidth
property value - See Also:
- Default:
- ""
-
pageSize
int pageSizeGet the value desired for thepageSize
property.- Returns:
- desired
pageSize
property value - See Also:
- Default:
- 50
-
pattern
String patternGet the value desired for thepattern
property.- Returns:
- desired
pattern
property value - See Also:
- Default:
- ""
-
placeholder
String placeholderGet the value desired for theplaceholder
property.- Returns:
- desired
placeholder
property value - See Also:
- Default:
- ""
-
prefixComponent
Get the class to instantiate for theprefixComponent
property.- Returns:
- desired
prefixComponent
property value type - See Also:
- Default:
- com.vaadin.flow.component.Component.class
-
readOnly
boolean readOnlyGet the value desired for thereadOnly
property.- Returns:
- desired
readOnly
property value - See Also:
- Default:
- false
-
renderer
Get the class to instantiate for therenderer
property.- Returns:
- desired
renderer
property value type - See Also:
- Default:
- com.vaadin.flow.data.renderer.Renderer.class
-
required
boolean requiredGet the value desired for therequired
property.- Returns:
- desired
required
property value - See Also:
- Default:
- false
-
requiredIndicatorVisible
boolean requiredIndicatorVisibleGet the value desired for therequiredIndicatorVisible
property.- Returns:
- desired
requiredIndicatorVisible
property value - See Also:
- Default:
- false
-
tabIndex
int tabIndexGet the value desired for thetabIndex
property.- Returns:
- desired
tabIndex
property value - See Also:
- Default:
- 0
-
addThemeNames
String[] addThemeNamesAdd the specified theme names.- Returns:
- zero or more theme names to add
- See Also:
- Default:
- {}
-
addThemeVariants
ComboBoxVariant[] addThemeVariantsAdd the specified theme variants.- Returns:
- zero or more theme variants to add
- See Also:
- Default:
- {}
-
tooltipText
String tooltipTextGet the value desired for thetooltipText
property.- Returns:
- desired
tooltipText
property value - See Also:
- Default:
- ""
-
visible
boolean visibleGet the value desired for thevisible
property.- Returns:
- desired
visible
property value - See Also:
- Default:
- true
-
width
String widthGet the value desired for thewidth
property.- Returns:
- desired
width
property value - See Also:
- Default:
- ""
-