Class FormFactoryImpl
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.common.formfactory.impl.FormFactoryImpl
- All Implemented Interfaces:
FormFactory
The Class FormFactoryImpl.
-
Constructor Summary
-
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.
-
Constructor Details
-
FormFactoryImpl
public FormFactoryImpl()
-
-
Method Details
-
addFormPanelTextFields
public <T extends Serializable> void addFormPanelTextFields(com.vaadin.ui.AbstractOrderedLayout panelContent, T item, Class<T> beanType, List<String> displayProperties) Description copied from interface:FormFactory
Adds the form panel text fields.- Specified by:
addFormPanelTextFields
in interfaceFormFactory
- Type Parameters:
T
- the generic type- Parameters:
panelContent
- the panel contentitem
- the itembeanType
- the bean typedisplayProperties
- the display properties
-
addRequestInputFormFields
public <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) Description copied from interface:FormFactory
Adds the request input form fields.- Specified by:
addRequestInputFormFields
in interfaceFormFactory
- 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
-