java.lang.Object
com.hack23.cia.web.impl.ui.application.views.common.formfactory.impl.FormFactoryImpl
All Implemented Interfaces:
FormFactory

@Service public final class FormFactoryImpl extends Object implements FormFactory
The Class FormFactoryImpl.
  • 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 interface FormFactory
      Type Parameters:
      T - the generic type
      Parameters:
      panelContent - the panel content
      item - the item
      beanType - the bean type
      displayProperties - 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 interface FormFactory
      Type Parameters:
      T - the generic type
      Parameters:
      panelContent - the panel content
      item - the item
      beanType - the bean type
      displayProperties - the display properties
      buttonLabel - the button label
      buttonListener - the button listener