Uses of Enum Class
com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment
Packages that use FlexComponent.Alignment
-
Uses of FlexComponent.Alignment in com.vaadin.flow.component.orderedlayout
Methods in com.vaadin.flow.component.orderedlayout that return FlexComponent.AlignmentModifier and TypeMethodDescriptiondefault FlexComponent.Alignment
FlexComponent.getAlignItems()
Gets the default alignment used by all components without individual alignments inside the layout.HorizontalLayout.getAlignItems()
This is the same asHorizontalLayout.getDefaultVerticalComponentAlignment()
.VerticalLayout.getAlignItems()
This is the same asVerticalLayout.getDefaultHorizontalComponentAlignment()
.default FlexComponent.Alignment
FlexComponent.getAlignSelf
(HasElement component) Gets the individual alignment of a given component.HorizontalLayout.getAlignSelf
(HasElement component) This is the same asHorizontalLayout.getVerticalComponentAlignment(Component)
.VerticalLayout.getAlignSelf
(HasElement component) This is the same asVerticalLayout.getHorizontalComponentAlignment(Component)
.VerticalLayout.getDefaultHorizontalComponentAlignment()
Gets the default horizontal alignment used by all components without individual alignments inside the layout.HorizontalLayout.getDefaultVerticalComponentAlignment()
Gets the default vertical alignment used by all components without individual alignments inside the layout.VerticalLayout.getHorizontalComponentAlignment
(Component component) Gets the individual horizontal alignment of a given component.HorizontalLayout.getVerticalComponentAlignment
(Component component) Gets the individual vertical alignment of a given component.static FlexComponent.Alignment
Returns the enum constant of this class with the specified name.static FlexComponent.Alignment[]
FlexComponent.Alignment.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.vaadin.flow.component.orderedlayout with parameters of type FlexComponent.AlignmentModifier and TypeMethodDescriptiondefault void
FlexComponent.setAlignItems
(FlexComponent.Alignment alignment) Sets the default alignment to be used by all components without individual alignments inside the layout.void
HorizontalLayout.setAlignItems
(FlexComponent.Alignment alignment) This is the same asHorizontalLayout.setDefaultVerticalComponentAlignment(Alignment)
.void
VerticalLayout.setAlignItems
(FlexComponent.Alignment alignment) This is the same asVerticalLayout.setDefaultHorizontalComponentAlignment(Alignment)
.default void
FlexComponent.setAlignSelf
(FlexComponent.Alignment alignment, HasElement... components) Sets an alignment for individual components inside the layout.void
HorizontalLayout.setAlignSelf
(FlexComponent.Alignment alignment, HasElement... components) This is the same asHorizontalLayout.setVerticalComponentAlignment(Alignment, Component...)
.void
VerticalLayout.setAlignSelf
(FlexComponent.Alignment alignment, HasElement... components) This is the same asVerticalLayout.setHorizontalComponentAlignment(Alignment, Component...)
.void
VerticalLayout.setDefaultHorizontalComponentAlignment
(FlexComponent.Alignment alignment) Sets the default horizontal alignment to be used by all components without individual alignments inside the layout.void
HorizontalLayout.setDefaultVerticalComponentAlignment
(FlexComponent.Alignment alignment) Sets the default vertical alignment to be used by all components without individual alignments inside the layout.void
VerticalLayout.setHorizontalComponentAlignment
(FlexComponent.Alignment alignment, Component... componentsToAlign) Sets a horizontal alignment for individual components inside the layout.void
HorizontalLayout.setVerticalComponentAlignment
(FlexComponent.Alignment alignment, Component... componentsToAlign) Sets a vertical alignment for individual components inside the layout.Constructors in com.vaadin.flow.component.orderedlayout with parameters of type FlexComponent.AlignmentModifierConstructorDescriptionHorizontalLayout
(FlexComponent.Alignment alignment, Component... children) Convenience constructor to create a layout with the children and specified vertical alignment.VerticalLayout
(FlexComponent.Alignment alignment, Component... children) Convenience constructor to create a layout with the children and specified horizontal alignment.