Package org.dellroad.stuff.vaadin7
Annotation Type FieldBuilder.ListSelect
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.ListSelect
Specifies how a Java property should be edited in Vaadin using anListSelect.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description 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
-
-
-
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
-
-