Annotation Interface FieldBuilder.ListBox
- Enclosing class:
- FieldBuilder<T>
Specifies how a Java bean property should be edited using a
ListBox
.- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Add the specified class names.Get the value desired for theariaLabel
property.Get the value desired for theariaLabelledBy
property.Class<? extends DataProvider>
Get the class to instantiate for thedataProvider
property.boolean
Get the value desired for theenabled
property.Get the value desired for theheight
property.Get the value desired for theid
property.Get the sub-type ofListBox
that will edit the property.Class<? extends SerializablePredicate>
Get the class to instantiate for theitemEnabledProvider
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 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 thereadOnly
property.Class<? extends ComponentRenderer>
Get the class to instantiate for therenderer
property.boolean
Get the value desired for therequiredIndicatorVisible
property.String[]
Specify CSS properties to be set viaStyle.set()
.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 ofListBox
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.listbox.ListBox.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:
- {}
-
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:
- ""
-
addClassNames
String[] addClassNamesAdd the specified class names.- Returns:
- zero or more class names to add
- See Also:
- Default:
- {}
-
dataProvider
Class<? extends DataProvider> dataProviderGet the class to instantiate for thedataProvider
property.- Returns:
- desired
dataProvider
property value type - See Also:
- Default:
- com.vaadin.flow.data.provider.DataProvider.class
-
enabled
boolean enabledGet the value desired for theenabled
property.- Returns:
- desired
enabled
property value - See Also:
- Default:
- true
-
height
String heightGet the value desired for theheight
property.- Returns:
- desired
height
property value - See Also:
- Default:
- ""
-
id
String idGet the value desired for theid
property.- Returns:
- desired
id
property value - See Also:
- Default:
- ""
-
itemEnabledProvider
Class<? extends SerializablePredicate> itemEnabledProviderGet the class to instantiate for theitemEnabledProvider
property.- Returns:
- desired
itemEnabledProvider
property value type - See Also:
- Default:
- com.vaadin.flow.function.SerializablePredicate.class
-
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
-
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:
- ""
-
readOnly
boolean readOnlyGet the value desired for thereadOnly
property.- Returns:
- desired
readOnly
property value - See Also:
- Default:
- false
-
renderer
Class<? extends ComponentRenderer> rendererGet the class to instantiate for therenderer
property.- Returns:
- desired
renderer
property value type - See Also:
- Default:
- com.vaadin.flow.data.renderer.ComponentRenderer.class
-
requiredIndicatorVisible
boolean requiredIndicatorVisibleGet the value desired for therequiredIndicatorVisible
property.- Returns:
- desired
requiredIndicatorVisible
property value - See Also:
- Default:
- false
-
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:
- ""
-