Interface FormFactory
- All Known Implementing Classes:
FormFactoryImpl
public interface FormFactory
A factory for creating Form objects.
-
Method Summary
Modifier and TypeMethodDescription<T extends Serializable>
voidaddFormPanelTextFields
(com.vaadin.ui.AbstractOrderedLayout panelContent, T item, Class<T> beanType, List<String> displayProperties) Adds the form panel text fields.<T extends Serializable>
voidaddRequestInputFormFields
(com.vaadin.ui.FormLayout panelContent, T item, Class<T> beanType, List<String> displayProperties, String buttonLabel, com.vaadin.ui.Button.ClickListener buttonListener) Adds the request input form fields.
-
Method Details
-
addFormPanelTextFields
<T extends Serializable> void addFormPanelTextFields(com.vaadin.ui.AbstractOrderedLayout panelContent, T item, Class<T> beanType, List<String> displayProperties) Adds the form panel text fields.- Type Parameters:
T
- the generic type- Parameters:
panelContent
- the panel contentitem
- the itembeanType
- the bean typedisplayProperties
- the display properties
-
addRequestInputFormFields
<T extends Serializable> void addRequestInputFormFields(com.vaadin.ui.FormLayout panelContent, T item, Class<T> beanType, List<String> displayProperties, String buttonLabel, com.vaadin.ui.Button.ClickListener buttonListener) Adds the request input form fields.- Type Parameters:
T
- the generic type- Parameters:
panelContent
- the panel contentitem
- the itembeanType
- the bean typedisplayProperties
- the display propertiesbuttonLabel
- the button labelbuttonListener
- the button listener
-