Index

A C E G H R S V W 
All Classes and Interfaces|All Packages|Serialized Form

A

addBeanValidator(Validator<? super T>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Adds a bean-level (cross-field) validator.
addButton(String, ComponentEventListener<ClickEvent<Button>>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Adds an extra button to the button bar.
addButton(String, Component, ButtonVariant, ComponentEventListener<ClickEvent<Button>>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Adds an extra button with an icon and a theme variant to the button bar.
asRequired(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Makes this field required, showing the given message when it is empty.

C

clear() - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Clears all fields.
com.flowingcode.vaadin.addons.easyform - package com.flowingcode.vaadin.addons.easyform
 

E

EasyForm<T> - Class in com.flowingcode.vaadin.addons.easyform
A form component that is automatically generated from a POJO definition.
EasyForm(Class<T>) - Constructor for class com.flowingcode.vaadin.addons.easyform.EasyForm
Creates a form whose fields are generated from the properties of the given bean type.
EasyForm.EasyFormField<V> - Class in com.flowingcode.vaadin.addons.easyform
Fluent configuration wrapper for a single field of an EasyForm.

G

getField(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Returns the configuration wrapper for the field generated for the given property.
getField(String, Class<V>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Returns the configuration wrapper for the field generated for the given property, typed to the given presentation value type.
getValidBean() - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Validates the form and returns the bean with the current field values written to it.

H

hidden() - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Hides this field, excluding it from the layout and the binding.
hideFields(String...) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Hides the given fields, excluding them from the layout and the binding.

R

readBean(T) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Populates the fields with values from the given bean without live binding.
readOnly() - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Makes this field read-only: it is displayed and populated from the bean, but cannot be edited.
readOnlyFields(String...) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Makes the given fields read-only.
reset() - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Resets the fields to the values of the last bean set through EasyForm.setBean(Object) or EasyForm.readBean(Object).

S

setBean(T) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Binds the given bean to the form in edit mode: fields are populated from the bean and valid value changes are written through to it.
setCancelAction(SerializableRunnable) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Sets the action invoked when the cancel button is clicked, and makes the cancel button visible.
setCancelButtonText(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Sets the text of the cancel button.
setCancelButtonVisible(boolean) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Overrides the visibility of the cancel button.
setComponentFactory(Class<P>, SerializableSupplier<HasValue<?, V>>, Converter<V, P>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Registers a component factory for the given property type in this form instance, together with a converter that adapts the component presentation type to the property type, overriding the global defaults.
setComponentFactory(Class<V>, SerializableSupplier<HasValue<?, V>>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Registers a component factory for the given value type in this form instance, overriding the global defaults.
setDefaultComponentFactory(Class<P>, SerializableSupplier<HasValue<?, V>>, Converter<V, P>) - Static method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Registers a global default component factory for the given property type, together with a converter that adapts the component presentation type to the property type (e.g. a NumberField whose Double value is converted to a Long property).
setDefaultComponentFactory(Class<V>, SerializableSupplier<HasValue<?, V>>) - Static method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Registers a global default component factory for the given value type.
setFieldOrder(String...) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Sets the display order of the fields.
setResponsiveSteps(FormLayout.ResponsiveStep...) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Configures the responsive steps of the internal form layout.
setSaveAction(SerializableConsumer<T>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Sets the action invoked with the validated bean when the save button is clicked, and makes the save button visible.
setSaveButtonText(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Sets the text of the save button.
setSaveButtonVisible(boolean) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm
Overrides the visibility of the save button.

V

visible() - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Makes this field visible and editable (the default state).

W

withColSpan(int) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Sets the number of columns this field spans in the form layout.
withComponent(HasValue<?, W>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Replaces the auto-generated component of this field with the given one, and types this wrapper after the value type of the new component.
withConverter(Converter<V, P>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Sets a converter that adapts the presentation value of the component to the model type of the bean property (e.g. a String field bound to an Integer property).
withHelperText(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Sets the helper text of this field.
withLabel(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Sets the label of this field, replacing the label generated from the property name.
withPlaceholder(String) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Sets the placeholder of this field.
withValidator(Validator<V>) - Method in class com.flowingcode.vaadin.addons.easyform.EasyForm.EasyFormField
Adds a validator to this field.
A C E G H R S V W 
All Classes and Interfaces|All Packages|Serialized Form