@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public static @interface FieldBuilder.AbstractField
AbstractField.FieldBuilder| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
buffered
Get whether this field is buffered.
|
String |
caption
Get the caption associated with this field.
|
String |
conversionError
Get error message when value cannot be converted to data model type.
|
Class<? extends Converter> |
converter
Get the
Converter type that convert field value to data model type. |
String |
description
Get the description associated with this field.
|
boolean |
enabled
Get whether this field is enabled.
|
String |
height
Get height.
|
boolean |
immediate
Get whether this field is immediate.
|
boolean |
invalidAllowed
Get whether invalid values are allowed.
|
boolean |
invalidCommitted
Get whether invalid values should be committed.
|
boolean |
readOnly
Get whether this field is read-only.
|
boolean |
required
Get whether field is required.
|
String |
requiredError
Get the error that is shown if this field is required, but empty.
|
String[] |
styleNames
Get style names.
|
int |
tabIndex
Get tabular index.
|
Class<? extends AbstractField> |
type
Get the
AbstractField type that will edit the property. |
boolean |
validationVisible
Get whether automatic visible validation is enabled.
|
Class<? extends Validator>[] |
validators
Get
Validator types to add to this field. |
String |
width
Get width.
|
public abstract Class<? extends AbstractField> type
AbstractField type 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 TextField.
public abstract String[] styleNames
AbstractComponent.addStyleName(java.lang.String)public abstract String width
AbstractComponent.setWidth(String)public abstract String height
AbstractComponent.setHeight(String)public abstract String caption
AbstractComponent.setCaption(java.lang.String)public abstract String description
AbstractComponent.setDescription(java.lang.String)public abstract boolean enabled
AbstractComponent.setEnabled(boolean)public abstract boolean immediate
AbstractComponent.setImmediate(boolean)public abstract boolean readOnly
AbstractComponent.setReadOnly(boolean)public abstract Class<? extends Converter> converter
Converter type that convert field value to data model type.
The specified class must have a no-arg constructor and compatible type.
The default value of this property is Converter, which means do not set a specific
Converter on the field.
AbstractField.setConverter(Converter)public abstract Class<? extends Validator>[] validators
Validator types to add to this field. All such types must have no-arg constructors.AbstractField.addValidator(com.vaadin.data.Validator)public abstract boolean buffered
AbstractField.setBuffered(boolean)public abstract boolean invalidAllowed
AbstractField.setInvalidAllowed(boolean)public abstract boolean invalidCommitted
AbstractField.setInvalidCommitted(boolean)public abstract String conversionError
AbstractField.setConversionError(java.lang.String)public abstract String requiredError
AbstractField.setRequiredError(java.lang.String)public abstract boolean validationVisible
AbstractField.setValidationVisible(boolean)public abstract boolean required
AbstractField.setRequired(boolean)public abstract int tabIndex
AbstractField.setTabIndex(int)Copyright © 2017. All rights reserved.