Package net.moewes.cloudui.vaadin
Class FormLayout
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.vaadin.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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFormItem(net.moewes.cloudui.UiComponent inputComponent, net.moewes.cloudui.UiComponent labelComponent)
adds a new form item to the form layoutvoid
addResponsiveStep(String minWidth, int colunms, FormLayout.LabelPosition labelPosition)
adds a new responsive step to the form layoutnet.moewes.cloudui.UiElement
render()
-
-
-
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 componentlabelComponent
- 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 classnet.moewes.cloudui.UiComponent
-
-