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>
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VHorizontalLayout()VHorizontalLayout(com.vaadin.flow.component.Component... children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VHorizontalLayoutalignAll(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)VHorizontalLayoutspace()Adds a spacer component that consumes all available space.VHorizontalLayoutwithAlignItems(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)VHorizontalLayoutwithAlignSelf(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment, com.vaadin.flow.component.HasElement... elementContainers)VHorizontalLayoutwithComponent(com.vaadin.flow.component.Component component)VHorizontalLayoutwithComponent(com.vaadin.flow.component.Component component, com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)VHorizontalLayoutwithDefaultVerticalComponentAlignment(com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)VHorizontalLayoutwithExpand(com.vaadin.flow.component.Component... componentsToExpand)VHorizontalLayoutwithExpanded(com.vaadin.flow.component.Component... components)VHorizontalLayoutwithFlexGrow(double flexGrow, com.vaadin.flow.component.HasElement... elementContainers)VHorizontalLayoutwithJustifyContentMode(com.vaadin.flow.component.orderedlayout.FlexComponent.JustifyContentMode justifyContentMode)VHorizontalLayoutwithSpacing(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, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, 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.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, 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
withComponentAsFirst, withComponentAtIndex, withComponents
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
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, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
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
-
-
-
-
Method Detail
-
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
public VHorizontalLayout withSpacing(boolean spacing)
- Specified by:
withSpacingin interfaceFluentThemableLayout<VHorizontalLayout>
-
withComponent
public VHorizontalLayout withComponent(com.vaadin.flow.component.Component component)
-
withComponent
public VHorizontalLayout withComponent(com.vaadin.flow.component.Component component, com.vaadin.flow.component.orderedlayout.FlexComponent.Alignment alignment)
-
withExpanded
public VHorizontalLayout withExpanded(com.vaadin.flow.component.Component... components)
-
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
public VHorizontalLayout withExpand(com.vaadin.flow.component.Component... componentsToExpand)
-
space
public VHorizontalLayout 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
-
-