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
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Add the specified class names.String[]Add the specified theme names.Add the specified theme variants.booleanGet the value desired for theallowCustomValueproperty.Get the value desired for theallowedCharPatternproperty.Get the value desired for theariaLabelproperty.Get the value desired for theariaLabelledByproperty.booleanGet the value desired for theautofocusproperty.booleanGet the value desired for theautoOpenproperty.booleanGet the value desired for theclearButtonVisibleproperty.booleanGet the value desired for theenabledproperty.Get the value desired for theerrorMessageproperty.Get the value desired for theheightproperty.Get the class to instantiate for thehelperComponentproperty.Get the value desired for thehelperTextproperty.Get the value desired for theidproperty.Get the sub-type ofComboBoxthat will edit the property.Class<? extends ItemLabelGenerator>Get the class to instantiate for theitemLabelGeneratorproperty.Class<? extends DataProvider>Get the class to instantiate for theitemsproperty.Get the value desired for thelabelproperty.booleanGet the value desired for themanualValidationproperty.Get the value desired for themaxHeightproperty.Get the value desired for themaxWidthproperty.Get the value desired for theminHeightproperty.Get the value desired for theminWidthproperty.booleanGet the value desired for theopenedproperty.Get the value desired for theoverlayClassNameproperty.Get the value desired for theoverlayWidthproperty.intGet the value desired for thepageSizeproperty.Get the value desired for thepatternproperty.Get the value desired for theplaceholderproperty.Get the class to instantiate for theprefixComponentproperty.booleanGet the value desired for thereadOnlyproperty.Get the class to instantiate for therendererproperty.booleanGet the value desired for therequiredproperty.booleanGet the value desired for therequiredIndicatorVisibleproperty.String[]Specify CSS properties to be set viaStyle.set().intGet the value desired for thetabIndexproperty.Get the value desired for thetooltipTextproperty.booleanGet the value desired for thevisibleproperty.Get the value desired for thewidthproperty.
-
Element Details
-
implementation
Get the sub-type ofComboBoxthat 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 theallowCustomValueproperty.- Returns:
- desired
allowCustomValueproperty value - See Also:
- Default:
- false
-
allowedCharPattern
String allowedCharPatternGet the value desired for theallowedCharPatternproperty.- Returns:
- desired
allowedCharPatternproperty value - See Also:
- Default:
- ""
-
ariaLabel
String ariaLabelGet the value desired for theariaLabelproperty.- Returns:
- desired
ariaLabelproperty value - See Also:
- Default:
- ""
-
ariaLabelledBy
String ariaLabelledByGet the value desired for theariaLabelledByproperty.- Returns:
- desired
ariaLabelledByproperty value - See Also:
- Default:
- ""
-
autoOpen
boolean autoOpenGet the value desired for theautoOpenproperty.- Returns:
- desired
autoOpenproperty value - See Also:
- Default:
- true
-
autofocus
boolean autofocusGet the value desired for theautofocusproperty.- Returns:
- desired
autofocusproperty 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 theclearButtonVisibleproperty.- Returns:
- desired
clearButtonVisibleproperty value - See Also:
- Default:
- false
-
enabled
boolean enabledGet the value desired for theenabledproperty.- Returns:
- desired
enabledproperty value - See Also:
- Default:
- true
-
errorMessage
String errorMessageGet the value desired for theerrorMessageproperty.- Returns:
- desired
errorMessageproperty value - See Also:
- Default:
- ""
-
height
String heightGet the value desired for theheightproperty.- Returns:
- desired
heightproperty value - See Also:
- Default:
- ""
-
helperComponent
Get the class to instantiate for thehelperComponentproperty.- Returns:
- desired
helperComponentproperty value type - See Also:
- Default:
- com.vaadin.flow.component.Component.class
-
helperText
String helperTextGet the value desired for thehelperTextproperty.- Returns:
- desired
helperTextproperty value - See Also:
- Default:
- ""
-
id
String idGet the value desired for theidproperty.- Returns:
- desired
idproperty value - See Also:
- Default:
- ""
-
itemLabelGenerator
Class<? extends ItemLabelGenerator> itemLabelGeneratorGet the class to instantiate for theitemLabelGeneratorproperty.- Returns:
- desired
itemLabelGeneratorproperty value type - See Also:
- Default:
- com.vaadin.flow.component.ItemLabelGenerator.class
-
items
Class<? extends DataProvider> itemsGet the class to instantiate for theitemsproperty.- Returns:
- desired
itemsproperty value type - See Also:
- Default:
- com.vaadin.flow.data.provider.DataProvider.class
-
label
String labelGet the value desired for thelabelproperty.- Returns:
- desired
labelproperty value - See Also:
- Default:
- ""
-
manualValidation
boolean manualValidationGet the value desired for themanualValidationproperty.- Returns:
- desired
manualValidationproperty value - See Also:
- Default:
- false
-
maxHeight
String maxHeightGet the value desired for themaxHeightproperty.- Returns:
- desired
maxHeightproperty value - See Also:
- Default:
- ""
-
maxWidth
String maxWidthGet the value desired for themaxWidthproperty.- Returns:
- desired
maxWidthproperty value - See Also:
- Default:
- ""
-
minHeight
String minHeightGet the value desired for theminHeightproperty.- Returns:
- desired
minHeightproperty value - See Also:
- Default:
- ""
-
minWidth
String minWidthGet the value desired for theminWidthproperty.- Returns:
- desired
minWidthproperty value - See Also:
- Default:
- ""
-
opened
boolean openedGet the value desired for theopenedproperty.- Returns:
- desired
openedproperty value - See Also:
- Default:
- false
-
overlayClassName
String overlayClassNameGet the value desired for theoverlayClassNameproperty.- Returns:
- desired
overlayClassNameproperty value - See Also:
- Default:
- ""
-
overlayWidth
String overlayWidthGet the value desired for theoverlayWidthproperty.- Returns:
- desired
overlayWidthproperty value - See Also:
- Default:
- ""
-
pageSize
int pageSizeGet the value desired for thepageSizeproperty.- Returns:
- desired
pageSizeproperty value - See Also:
- Default:
- 50
-
pattern
String patternGet the value desired for thepatternproperty.- Returns:
- desired
patternproperty value - See Also:
- Default:
- ""
-
placeholder
String placeholderGet the value desired for theplaceholderproperty.- Returns:
- desired
placeholderproperty value - See Also:
- Default:
- ""
-
prefixComponent
Get the class to instantiate for theprefixComponentproperty.- Returns:
- desired
prefixComponentproperty value type - See Also:
- Default:
- com.vaadin.flow.component.Component.class
-
readOnly
boolean readOnlyGet the value desired for thereadOnlyproperty.- Returns:
- desired
readOnlyproperty value - See Also:
- Default:
- false
-
renderer
Get the class to instantiate for therendererproperty.- Returns:
- desired
rendererproperty value type - See Also:
- Default:
- com.vaadin.flow.data.renderer.Renderer.class
-
required
boolean requiredGet the value desired for therequiredproperty.- Returns:
- desired
requiredproperty value - See Also:
- Default:
- false
-
requiredIndicatorVisible
boolean requiredIndicatorVisibleGet the value desired for therequiredIndicatorVisibleproperty.- Returns:
- desired
requiredIndicatorVisibleproperty value - See Also:
- Default:
- false
-
tabIndex
int tabIndexGet the value desired for thetabIndexproperty.- Returns:
- desired
tabIndexproperty 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 thetooltipTextproperty.- Returns:
- desired
tooltipTextproperty value - See Also:
- Default:
- ""
-
visible
boolean visibleGet the value desired for thevisibleproperty.- Returns:
- desired
visibleproperty value - See Also:
- Default:
- true
-
width
String widthGet the value desired for thewidthproperty.- Returns:
- desired
widthproperty value - See Also:
- Default:
- ""
-