Annotation Interface AbstractGridFieldBuilder.GridSingleSelect
- Enclosing class:
- AbstractGridFieldBuilder<S extends AbstractGridFieldBuilder<S,
T>, T>
@Retention(RUNTIME)
@Target(METHOD)
@Documented
public static @interface AbstractGridFieldBuilder.GridSingleSelect
Specifies how a Java bean property should be edited using a
Grid
converted to a single-select field via Grid.asSingleSelect()
.- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Add the specified class names.Add the specified theme variants.Get the configuration for theGrid
(single) column that is displayed.boolean
Get the value desired for theenabled
property.Get the value desired for theheight
property.Get the value desired for theid
property.Class<? extends DataProvider>
Get the class to instantiate as the data provider for the grid.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.int
Get the value desired for thepageSize
property.boolean
Get the value desired for thereadOnly
property.boolean
Get the value desired for therequiredIndicatorVisible
property.int
Get the value desired for thetabIndex
property.boolean
Get the value desired for thevisible
property.Get the value desired for thewidth
property.
-
Element Details
-
addClassNames
String[] addClassNamesAdd the specified class names.- Returns:
- zero or more class names to add
- See Also:
- Default:
- {}
-
addThemeVariants
GridVariant[] addThemeVariantsAdd the specified theme variants.- Returns:
- zero or more theme variants to add
- See Also:
- Default:
- {}
-
column
GridColumn columnGet the configuration for theGrid
(single) column that is displayed.- Returns:
- grid column configuration
- See Also:
- Default:
- @org.dellroad.stuff.vaadin24.grid.GridColumn
-
items
Class<? extends DataProvider> itemsGet the class to instantiate as the data provider for the grid.- Returns:
- desired data provider 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:
- ""
-
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:
- ""
-
pageSize
int pageSizeGet the value desired for thepageSize
property.- Returns:
- desired
pageSize
property value - See Also:
- Default:
- 50
-
readOnly
boolean readOnlyGet the value desired for thereadOnly
property.- Returns:
- desired
readOnly
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
-
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:
- ""
-