Serialized Form
-
Package com.flowingcode.vaadin.addons.easyform
-
Class com.flowingcode.vaadin.addons.easyform.EasyForm
-
Serialized Fields
-
bean
T bean
The bean the form is currently editing or was populated from, and the instance thatEasyForm.getValidBean()writes to. It isnullwhen no bean was set, and also afterEasyForm.clear(), which detaches it. -
beanType
Class<T> beanType
The bean type this form was created for. -
binder
Binder<T> binder
The internal binder that manages data binding and validation. -
bound
boolean bound
Whether the fields have been bound. Until then, configuring a field only collects the configuration; seeEasyForm.bindPendingFields(). -
buttonBar
HorizontalLayout buttonBar
-
cancelAction
SerializableRunnable cancelAction
-
cancelButton
Button cancelButton
The cancel button. Only displayed after a cancel action is set. -
cancelButtonVisibleOverride
Boolean cancelButtonVisibleOverride
-
fieldOrder
Set<String> fieldOrder
-
fields
Map<String,
EasyForm.Field<?>> fields -
formLayout
FormLayout formLayout
The internal layout where the generated fields are placed.The layout is owned by the form: it is emptied and repopulated whenever the set of visible fields or their order changes — which every field state change, component replacement, column span and
setFieldOrdercall can cause. Components added to it directly do not survive that refresh, so extra content belongs next to the form and not inside its layout. What is safe to use here is the configuration of the layout itself, such asFormLayout.setResponsiveSteps(ResponsiveStep...), which the refresh does not touch. -
i18n
EasyForm.EasyFormI18n i18n
The texts of the button bar. -
instanceFactories
Map<Class<?>,
com.flowingcode.vaadin.addons.easyform.EasyForm.ComponentFactory> instanceFactories -
labelGenerator
SerializableFunction<String,
String> labelGenerator -
lastBean
T lastBean
The last bean set, remembered so thatEasyForm.reset()can restore it after a clear. -
saveAction
SerializableConsumer<T> saveAction
-
saveButton
Button saveButton
The save button. Only displayed after a save action is set. -
saveButtonVisibleOverride
Boolean saveButtonVisibleOverride
-
writeThrough
boolean writeThrough
-
-
-
Class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormI18n
class EasyFormI18n extends Object implements Serializable -
Class com.flowingcode.vaadin.addons.easyform.EasyForm.Field
class Field extends Object implements Serializable-
Serialized Fields
-
binding
Binder.Binding<?,
?> binding -
bindingPending
boolean bindingPending
Whether the binding of this field has still to be built; seebindPendingFields. -
colSpan
int colSpan
-
component
HasValue<?,
V> component The underlying Vaadin component of this field, ornullif the property type has no component factory. -
componentExplicit
boolean componentExplicit
-
converter
Converter<?,
?> converter -
factoryConverter
Converter<?,
?> factoryConverter -
form
EasyForm<?> form
-
helperText
String helperText
-
label
String label
-
placeholder
String placeholder
-
primitiveDefault
Object primitiveDefault
The default value of the property type when the property is primitive, andnullotherwise. Primitive properties are bound through their wrapper, so the component can be empty while the setter cannot takenull. -
propertyName
String propertyName
The name of the bean property this field is generated for. -
propertyType
Class<?> propertyType
-
requiredMessage
String requiredMessage
-
state
com.flowingcode.vaadin.addons.easyform.EasyForm.Field.State state
-
validators
List<Validator<?>> validators
-
-
-