Class FlexBoxLayout

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.FlexLayout>, 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.orderedlayout.FlexLayout>, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.FlexLayout>, Serializable
    Direct Known Subclasses:
    DetailsDrawer, DetailsDrawerFooter, DetailsDrawerHeader

    public class FlexBoxLayout
    extends com.vaadin.flow.component.orderedlayout.FlexLayout
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.flow.component.orderedlayout.FlexLayout

        com.vaadin.flow.component.orderedlayout.FlexLayout.ContentAlignment, com.vaadin.flow.component.orderedlayout.FlexLayout.FlexDirection, com.vaadin.flow.component.orderedlayout.FlexLayout.FlexWrap, com.vaadin.flow.component.orderedlayout.FlexLayout.WrapMode
      • 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 
      Constructor Description
      FlexBoxLayout​(com.vaadin.flow.component.Component... components)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void removeBackgroundColor()  
      void removeBorderRadius()  
      void removeBoxSizing()  
      void removeDisplay()  
      void removeFlexDirection()  
      void removeFlexWrap()  
      void removeMargin()  
      void removeMaxWidth()  
      void removeOverflow()  
      void removePadding()  
      void removePosition()  
      void removeShadow()  
      void setBackgroundColor​(String value)  
      void setBackgroundColor​(String value, String theme)  
      void setBorderRadius​(BorderRadius radius)  
      void setBoxSizing​(BoxSizing sizing)  
      void setDisplay​(Display display)  
      void setFlex​(String value, com.vaadin.flow.component.Component... components)  
      void setFlexBasis​(String value, com.vaadin.flow.component.Component... components)  
      void setFlexDirection​(com.vaadin.flow.component.orderedlayout.FlexLayout.FlexDirection direction)  
      void setFlexShrink​(String value, com.vaadin.flow.component.Component... components)  
      void setFlexWrap​(com.vaadin.flow.component.orderedlayout.FlexLayout.FlexWrap wrap)  
      void setMargin​(Size... sizes)  
      void setMaxWidth​(String value)  
      void setOverflow​(Overflow overflow)  
      void setPadding​(Size... sizes)  
      void setPosition​(Position position)  
      void setShadow​(Shadow shadow)  
      void setSpacing​(Size... sizes)  
      void setTheme​(String theme)  
      • Methods inherited from class com.vaadin.flow.component.orderedlayout.FlexLayout

        getAlignContent, getFlexBasis, getFlexDirection, getFlexShrink, getFlexWrap, getOrder, getWrapMode, setAlignContent, setFlexBasis, setFlexShrink, setOrder, setWrapMode
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.ClickNotifier

        addClickListener, addClickShortcut
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent

        expand, getAlignItems, getAlignSelf, getFlexGrow, getJustifyContentMode, replace, setAlignItems, setAlignSelf, setFlexGrow, setJustifyContentMode
      • Methods inherited from interface com.vaadin.flow.component.HasComponents

        add, add, addComponentAsFirst, addComponentAtIndex, 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 com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, 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
    • Constructor Detail

      • FlexBoxLayout

        public FlexBoxLayout​(com.vaadin.flow.component.Component... components)
    • Method Detail

      • setBackgroundColor

        public void setBackgroundColor​(String value)
      • setBackgroundColor

        public void setBackgroundColor​(String value,
                                       String theme)
      • removeBackgroundColor

        public void removeBackgroundColor()
      • setBorderRadius

        public void setBorderRadius​(BorderRadius radius)
      • removeBorderRadius

        public void removeBorderRadius()
      • setBoxSizing

        public void setBoxSizing​(BoxSizing sizing)
      • removeBoxSizing

        public void removeBoxSizing()
      • setDisplay

        public void setDisplay​(Display display)
      • removeDisplay

        public void removeDisplay()
      • setFlex

        public void setFlex​(String value,
                            com.vaadin.flow.component.Component... components)
      • setFlexBasis

        public void setFlexBasis​(String value,
                                 com.vaadin.flow.component.Component... components)
      • setFlexDirection

        public void setFlexDirection​(com.vaadin.flow.component.orderedlayout.FlexLayout.FlexDirection direction)
        Overrides:
        setFlexDirection in class com.vaadin.flow.component.orderedlayout.FlexLayout
      • removeFlexDirection

        public void removeFlexDirection()
      • setFlexShrink

        public void setFlexShrink​(String value,
                                  com.vaadin.flow.component.Component... components)
      • setFlexWrap

        public void setFlexWrap​(com.vaadin.flow.component.orderedlayout.FlexLayout.FlexWrap wrap)
        Overrides:
        setFlexWrap in class com.vaadin.flow.component.orderedlayout.FlexLayout
      • removeFlexWrap

        public void removeFlexWrap()
      • setMargin

        public void setMargin​(Size... sizes)
      • removeMargin

        public void removeMargin()
      • setMaxWidth

        public void setMaxWidth​(String value)
      • removeMaxWidth

        public void removeMaxWidth()
      • setOverflow

        public void setOverflow​(Overflow overflow)
      • removeOverflow

        public void removeOverflow()
      • setPadding

        public void setPadding​(Size... sizes)
      • removePadding

        public void removePadding()
      • setPosition

        public void setPosition​(Position position)
      • removePosition

        public void removePosition()
      • setShadow

        public void setShadow​(Shadow shadow)
      • removeShadow

        public void removeShadow()
      • setSpacing

        public void setSpacing​(Size... sizes)
      • setTheme

        public void setTheme​(String theme)