Annotation Type UIHorizontalLayout
-
@Retention(RUNTIME) @Target(TYPE) public @interface UIHorizontalLayout
Marks a group of components horizontally placed next to each other in aHorizontalLayout.To use this, annotate a class with
@UIHorizontalLayoutthat 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 theHorizontalLayoutand its children.You can adjust the
vertical alignmentof the children relative to each other with thealignment()attribute.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description VerticalAlignmentalignmentThevertical alignmentof theHorizontalLayout's children relative to each other.booleanpaddingThe state ofHorizontalLayoutpadding.booleanspacingThe state ofHorizontalLayoutspacing.
-
-
-
Element Detail
-
alignment
VerticalAlignment alignment
Thevertical alignmentof theHorizontalLayout's children relative to each other.- Default:
- org.linkki.core.ui.layout.VerticalAlignment.MIDDLE
-
-