Class VHorizontalLayout
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.orderedlayout.HorizontalLayout
org.vaadin.firitin.components.orderedlayout.VHorizontalLayout
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.HorizontalLayout>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasOrderedComponents
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.orderedlayout.FlexComponent
,com.vaadin.flow.component.orderedlayout.ThemableLayout
,Serializable
,FluentAttachNotifier<VHorizontalLayout>
,FluentClickNotifier<com.vaadin.flow.component.orderedlayout.HorizontalLayout,
,VHorizontalLayout> FluentComponent<VHorizontalLayout>
,FluentDetachNotifier<VHorizontalLayout>
,FluentHasComponents<VHorizontalLayout>
,FluentHasSize<VHorizontalLayout>
,FluentHasStyle<VHorizontalLayout>
,FluentThemableLayout<VHorizontalLayout>
,HasPadding<VHorizontalLayout>
- Direct Known Subclasses:
HorizontalFloatLayout
public class VHorizontalLayout
extends com.vaadin.flow.component.orderedlayout.HorizontalLayout
implements FluentThemableLayout<VHorizontalLayout>, FluentComponent<VHorizontalLayout>, FluentHasStyle<VHorizontalLayout>, FluentHasSize<VHorizontalLayout>, FluentHasComponents<VHorizontalLayout>, FluentClickNotifier<com.vaadin.flow.component.orderedlayout.HorizontalLayout,VHorizontalLayout>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment, com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalignAll
(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) space()
Adds a spacer component that consumes all available space.withAlignItems
(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) withAlignSelf
(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment, com.vaadin.flow.component.HasElement... elementContainers) withComponent
(com.vaadin.flow.component.Component component) withComponent
(com.vaadin.flow.component.Component component, com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) withDefaultVerticalComponentAlignment
(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) withExpand
(com.vaadin.flow.component.Component... componentsToExpand) withExpanded
(com.vaadin.flow.component.Component... components) withFlexGrow
(double flexGrow, com.vaadin.flow.component.HasElement... elementContainers) withJustifyContentMode
(com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode justifyContentMode) withSpacing
(boolean spacing) Methods inherited from class com.vaadin.flow.component.orderedlayout.HorizontalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultVerticalComponentAlignment, getVerticalComponentAlignment, setAlignItems, setAlignSelf, setDefaultVerticalComponentAlignment, setSpacing, setVerticalComponentAlignment
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getFlexShrink, getJustifyContentMode, replace, setFlexGrow, setFlexShrink, setJustifyContentMode
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListener
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentClickNotifier
withClickListener
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
setId, setVisible, withId, withVisible
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListener
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasComponents
navigate, withComponentAsFirst, withComponentAtIndex, withComponents
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
addResizeListener, withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyle
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentThemableLayout
withBoxSizing, withMargin, withPadding
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
Methods inherited from interface org.vaadin.firitin.util.style.HasPadding
setPadding, setPadding, setPadding, withPadding, withPadding, withPadding
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface com.vaadin.flow.component.orderedlayout.ThemableLayout
getBoxSizing, getThemeList, isMargin, isPadding, isSpacing, setBoxSizing, setMargin, setPadding, setSpacing
-
Constructor Details
-
VHorizontalLayout
public VHorizontalLayout() -
VHorizontalLayout
public VHorizontalLayout(com.vaadin.flow.component.Component... children)
-
-
Method Details
-
alignAll
public VHorizontalLayout alignAll(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) -
withDefaultVerticalComponentAlignment
public VHorizontalLayout withDefaultVerticalComponentAlignment(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) -
withJustifyContentMode
public VHorizontalLayout withJustifyContentMode(com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode justifyContentMode) -
withSpacing
- Specified by:
withSpacing
in interfaceFluentThemableLayout<VHorizontalLayout>
-
withComponent
-
withComponent
public VHorizontalLayout withComponent(com.vaadin.flow.component.Component component, com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) -
withExpanded
-
withAlignItems
public VHorizontalLayout withAlignItems(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment) -
withAlignSelf
public VHorizontalLayout withAlignSelf(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment, com.vaadin.flow.component.HasElement... elementContainers) -
withFlexGrow
public VHorizontalLayout withFlexGrow(double flexGrow, com.vaadin.flow.component.HasElement... elementContainers) -
withExpand
-
space
Adds a spacer component that consumes all available space. Handy for example to add components to both ends of a row, but leave space between them.- Returns:
- self with the spacer
-