Annotation Type UIVerticalLayout
-
@Retention(RUNTIME) @Target(TYPE) public @interface UIVerticalLayout
Marks a group of components vertically placed below each other in aVerticalLayout, labels above their corresponding input fields.To use this, annotate a class with
@UIVerticalLayoutthat includes regular UI element annotations like@UITextFieldon its methods. CallVaadinUiCreator.createComponent(Object, org.linkki.core.binding.BindingContext)with an instance of that class to create theVerticalLayoutand its children.You can adjust the
horizontal alignmentof the children relative to each other with thealignment()attribute.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description HorizontalAlignmentalignmentThehorizontal alignmentof theVerticalLayout's children relative to each other.booleanpaddingThe state ofVerticalLayoutpadding.booleanspacingThe state ofVerticalLayoutspacing.
-
-
-
Element Detail
-
alignment
HorizontalAlignment alignment
Thehorizontal alignmentof theVerticalLayout's children relative to each other.- Default:
- org.linkki.core.ui.layout.HorizontalAlignment.LEFT
-
-