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
Constructors -
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, setVerticalComponentAlignmentMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getFlexShrink, getJustifyContentMode, replace, setFlexGrow, setFlexShrink, setJustifyContentModeMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentClickNotifier
withClickListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
navigate, setId, setVisible, withId, withVisibleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasComponents
withComponentAsFirst, withComponentAtIndex, withComponentsMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
addResizeListener, withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidthMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentThemableLayout
withBoxSizing, withMargin, withPaddingMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOfMethods inherited from interface org.vaadin.firitin.util.style.HasPadding
setPadding, setPadding, setPadding, withPadding, withPadding, withPaddingMethods 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, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.orderedlayout.ThemableLayout
getBoxSizing, getThemeList, isMargin, isPadding, isSpacing, isWrap, setBoxSizing, setMargin, setPadding, setSpacing, setWrap
-
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:
withSpacingin 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
-