Class FormLayout


  • public class FormLayout
    extends net.moewes.cloudui.UiComponent
    Java wrapper for Vaadin web component vaadin-form-layout
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FormLayout.LabelPosition
      possible values for label posititons in responsive steps
    • Constructor Summary

      Constructors 
      Constructor Description
      FormLayout()
      default constructor
    • Constructor Detail

      • FormLayout

        public FormLayout()
        default constructor
    • Method Detail

      • addFormItem

        public void addFormItem​(net.moewes.cloudui.UiComponent inputComponent,
                                net.moewes.cloudui.UiComponent labelComponent)
        adds a new form item to the form layout
        Parameters:
        inputComponent - input ui component
        labelComponent - label ui component
      • addResponsiveStep

        public void addResponsiveStep​(String minWidth,
                                      int colunms,
                                      FormLayout.LabelPosition labelPosition)
        adds a new responsive step to the form layout
        Parameters:
        minWidth -
        colunms -
        labelPosition -
      • render

        public net.moewes.cloudui.UiElement render()
        Overrides:
        render in class net.moewes.cloudui.UiComponent