Class DefaultFormBuilder

java.lang.Object
com.jbstrap.ui.components.form.builders.DefaultFormBuilder
All Implemented Interfaces:
FormBuilder

public class DefaultFormBuilder extends Object implements FormBuilder

Default form builder class

This is the default form builder class. This creates a simple form, in which the form items will have the width of the form, and they will be placed under each other. No parameter needs to be specified to use this class.

Since:
4.0
Author:
JBStrap
  • Constructor Details

    • DefaultFormBuilder

      public DefaultFormBuilder()
  • Method Details

    • buildForm

      public Component<?> buildForm(List<FormItem<?,?>> formItems)
      Description copied from interface: FormBuilder
      Builds a form
      Specified by:
      buildForm in interface FormBuilder
      Parameters:
      formItems - The list containing the form items
      Returns:
      The built form contents