Package org.dellroad.stuff.vaadin8
Annotation Type FieldBuilder.AbstractField
-
@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.AbstractField
Specifies how a Java property should be edited using anAbstractField.- See Also:
FieldBuilder.AbstractComponent,FieldBuilder
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanreadOnlyGet whether this field is read-only.booleanrequiredIndicatorVisibleGet whether the required indicator is visible.inttabIndexGet this field's tab index.Class<? extends AbstractField>typeGet theAbstractFieldtype that will edit the property.
-
-
-
Element Detail
-
type
Class<? extends AbstractField> type
Get theAbstractFieldtype that will edit the property.Although this property has a default value, it must be overridden either in this annotation, or by also including a more specific annotation such as
FieldBuilder.ComboBox.- Returns:
- field type
- Default:
- com.vaadin.ui.AbstractField.class
-
-
-
readOnly
boolean readOnly
Get whether this field is read-only.- Returns:
- true for read-only
- See Also:
AbstractField.setReadOnly(boolean)
- Default:
- false
-
-
-
requiredIndicatorVisible
boolean requiredIndicatorVisible
Get whether the required indicator is visible.- Returns:
- true for visible
- See Also:
AbstractField.setRequiredIndicatorVisible(boolean)
- Default:
- false
-
-
-
tabIndex
int tabIndex
Get this field's tab index.- Returns:
- tab index
- See Also:
AbstractField.setTabIndex(int)
- Default:
- -1
-
-