Package org.linkki.core.ui.layout
Class VerticalLayoutComponentDefinition
- java.lang.Object
-
- org.linkki.core.ui.layout.VerticalLayoutComponentDefinition
-
- All Implemented Interfaces:
LinkkiComponentDefinition
public class VerticalLayoutComponentDefinition extends Object implements LinkkiComponentDefinition
Defines aVerticalLayoutwith the given default horizontal alignment.
-
-
Constructor Summary
Constructors Constructor Description VerticalLayoutComponentDefinition(HorizontalAlignment horizontalAlignment, boolean spacing, boolean padding)Creates a newVerticalLayoutComponentDefinitionwith the given horizontal alignment.
-
-
-
Constructor Detail
-
VerticalLayoutComponentDefinition
public VerticalLayoutComponentDefinition(HorizontalAlignment horizontalAlignment, boolean spacing, boolean padding)
Creates a newVerticalLayoutComponentDefinitionwith the given horizontal alignment. Vertically, all components are middle aligned. The state of spacing and padding can be applied. When activ then predefined style will apply to the layout. By default padding is activated and spacing is activated.
-
-
Method Detail
-
createComponent
public Object createComponent(Object pmo)
- Specified by:
createComponentin interfaceLinkkiComponentDefinition
-
-