Package org.dellroad.stuff.vaadin8
Annotation Type FieldBuilder.ListSelect
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.ListSelect
Specifies how a Java property should be edited using anListSelect.- See Also:
FieldBuilder.AbstractMultiSelect,FieldBuilder
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends DataProvider>dataProviderGet theDataProviderclass.introwsGet the number of rows in the editor.Class<? extends ListSelect>typeGet theListSelecttype that will edit the property.
-
-
-
Element Detail
-
type
Class<? extends ListSelect> type
Get theListSelecttype that will edit the property. Type must have a no-arg constructor.- Returns:
- field type
- Default:
- com.vaadin.ui.ListSelect.class
-
-
-
dataProvider
Class<? extends DataProvider> dataProvider
Get theDataProviderclass.- Returns:
- data provider class
- See Also:
ListSelect.setDataProvider(com.vaadin.data.provider.DataProvider<T, ?>)
- Default:
- com.vaadin.data.provider.DataProvider.class
-
-
-
rows
int rows
Get the number of rows in the editor.- Returns:
- number of rows, or -1 for none
- See Also:
ListSelect.setRows(int)
- Default:
- -1
-
-