Package org.dellroad.stuff.vaadin7
Annotation Type FieldBuilder.EnumComboBox
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.EnumComboBox
Specifies how a Java property should be edited in Vaadin using anEnumComboBox.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends Enum>enumClassGet theEnumtype to choose from.Class<? extends EnumComboBox>typeGet theEnumComboBoxtype that will edit the property.
-
-
-
Element Detail
-
type
Class<? extends EnumComboBox> type
Get theEnumComboBoxtype that will edit the property. Type must have a no-arg constructor.- Returns:
- field type
- Default:
- org.dellroad.stuff.vaadin7.EnumComboBox.class
-
-
-
enumClass
Class<? extends Enum> enumClass
Get theEnumtype to choose from. If left as default, the type will be inferred from the getter method return type, which must be anEnumtype.- Returns:
- enum type
- See Also:
EnumComboBox.setEnumDataSource(java.lang.Class<T>)
- Default:
- java.lang.Enum.class
-
-