Package coop.intergal.ui.components
Class FlexBoxLayout
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.FlexLayout
-
- coop.intergal.ui.components.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringBACKGROUND_COLORstatic StringBORDER_RADIUSstatic StringBOX_SHADOWstatic StringBOX_SIZINGstatic StringDISPLAYstatic StringFLEX_DIRECTIONstatic StringFLEX_WRAPstatic StringMAX_WIDTHstatic StringOVERFLOWstatic StringPOSITION
-
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 voidremoveBackgroundColor()voidremoveBorderRadius()voidremoveBoxSizing()voidremoveDisplay()voidremoveFlexDirection()voidremoveFlexWrap()voidremoveMargin()voidremoveMaxWidth()voidremoveOverflow()voidremovePadding()voidremovePosition()voidremoveShadow()voidsetBackgroundColor(String value)voidsetBackgroundColor(String value, String theme)voidsetBorderRadius(BorderRadius radius)voidsetBoxSizing(BoxSizing sizing)voidsetDisplay(Display display)voidsetFlex(String value, com.vaadin.flow.component.Component... components)voidsetFlexBasis(String value, com.vaadin.flow.component.Component... components)voidsetFlexDirection(com.vaadin.flow.component.orderedlayout.FlexLayout.FlexDirection direction)voidsetFlexShrink(String value, com.vaadin.flow.component.Component... components)voidsetFlexWrap(com.vaadin.flow.component.orderedlayout.FlexLayout.FlexWrap wrap)voidsetMargin(Size... sizes)voidsetMaxWidth(String value)voidsetOverflow(Overflow overflow)voidsetPadding(Size... sizes)voidsetPosition(Position position)voidsetShadow(Shadow shadow)voidsetSpacing(Size... sizes)voidsetTheme(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 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, 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.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
-
-
-
-
Field Detail
-
BACKGROUND_COLOR
public static final String BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
BORDER_RADIUS
public static final String BORDER_RADIUS
- See Also:
- Constant Field Values
-
BOX_SHADOW
public static final String BOX_SHADOW
- See Also:
- Constant Field Values
-
BOX_SIZING
public static final String BOX_SIZING
- See Also:
- Constant Field Values
-
DISPLAY
public static final String DISPLAY
- See Also:
- Constant Field Values
-
FLEX_DIRECTION
public static final String FLEX_DIRECTION
- See Also:
- Constant Field Values
-
FLEX_WRAP
public static final String FLEX_WRAP
- See Also:
- Constant Field Values
-
MAX_WIDTH
public static final String MAX_WIDTH
- See Also:
- Constant Field Values
-
OVERFLOW
public static final String OVERFLOW
- See Also:
- Constant Field Values
-
POSITION
public static final String POSITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setBackgroundColor
public void setBackgroundColor(String value)
-
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:
setFlexDirectionin classcom.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:
setFlexWrapin classcom.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)
-
-