Class AbstractGridLayout<L extends AbstractGridLayout<L>>

java.lang.Object
com.vaadin.flow.component.Component
de.codecamp.vaadin.components.AbstractGridLayout<L>
Type Parameters:
L - the type of the layout
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<L>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, Serializable
Direct Known Subclasses:
GridLayout

public abstract class AbstractGridLayout<L extends AbstractGridLayout<L>> extends com.vaadin.flow.component.Component implements com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.ClickNotifier<L>, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasTheme
A base-class for layouts that are based on CSS grids.
See Also:
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    AbstractGridLayout(com.vaadin.flow.dom.Element element)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected void
    setAutoColumns(String trackSizes)
     
    protected void
    setAutoFlow(GridAutoFlow gridAutoFlow)
     
    protected void
    setAutoRows(String trackSizes)
     
    protected void
    setColumnGap(String columnGap)
     
    protected void
     
    protected void
    setInline(boolean inline)
     
    protected void
    setItemAlign(com.vaadin.flow.component.Component childComponent, GridItemAlignment alignSelf)
     
    protected void
    setItemArea(com.vaadin.flow.component.Component childComponent, String area)
     
    protected void
    setItemColumn(com.vaadin.flow.component.Component childComponent, String lineStart, String lineEnd)
     
    protected void
    setItemColumnAndRow(com.vaadin.flow.component.Component component, Object columnLineStart, Object columnLineEnd, Object rowLineStart, Object rowLineEnd)
     
    protected void
    setItemColumnAndRowSpan(com.vaadin.flow.component.Component childComponent, int columnSpan, int rowSpan)
     
    protected void
    setItemColumnEnd(com.vaadin.flow.component.Component childComponent, String line)
     
    protected void
    setItemColumnSpan(com.vaadin.flow.component.Component childComponent, int columnSpan)
     
    protected void
    setItemColumnStart(com.vaadin.flow.component.Component childComponent, String line)
     
    protected void
    setItemCoordinates(com.vaadin.flow.component.Component childComponent, int column, int row)
     
    protected void
    setItemCoordinates(com.vaadin.flow.component.Component childComponent, int column, int row, int columnSpan, int rowSpan)
     
    protected void
    setItemJustify(com.vaadin.flow.component.Component childComponent, GridItemAlignment justifySelf)
     
    protected void
    setItemRow(com.vaadin.flow.component.Component childComponent, String lineStart, String lineEnd)
     
    protected void
    setItemRowEnd(com.vaadin.flow.component.Component childComponent, String line)
     
    protected void
    setItemRowSpan(com.vaadin.flow.component.Component childComponent, int rowSpan)
     
    protected void
    setItemRowStart(com.vaadin.flow.component.Component childComponent, String line)
     
    protected void
     
    protected void
     
    protected void
    setRowGap(String rowGap)
     
    protected void
     
    protected void
    setTemplateColumns(String gridTemplateColumns)
     
    protected void
    setTemplateRows(String gridTemplateRows)
     

    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.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    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.HasTheme

    addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
  • Constructor Details

    • AbstractGridLayout

      protected AbstractGridLayout()
    • AbstractGridLayout

      protected AbstractGridLayout(com.vaadin.flow.dom.Element element)
  • Method Details

    • setInline

      protected void setInline(boolean inline)
    • setAutoFlow

      protected void setAutoFlow(GridAutoFlow gridAutoFlow)
    • setTemplateColumns

      protected void setTemplateColumns(String gridTemplateColumns)
    • setTemplateRows

      protected void setTemplateRows(String gridTemplateRows)
    • setTemplateAreas

      protected void setTemplateAreas(String... rows)
    • setAutoColumns

      protected void setAutoColumns(String trackSizes)
    • setAutoRows

      protected void setAutoRows(String trackSizes)
    • setColumnGap

      protected void setColumnGap(String columnGap)
    • setRowGap

      protected void setRowGap(String rowGap)
    • setGaps

      protected void setGaps(String gaps)
    • setJustifyItems

      protected void setJustifyItems(GridItemAlignment justifyItems)
    • setAlignItems

      protected void setAlignItems(GridItemAlignment alignItems)
    • setJustifyContent

      protected void setJustifyContent(GridContentAlignment justifyContent)
    • setAlignContent

      protected void setAlignContent(GridContentAlignment alignContent)
    • setItemColumnAndRow

      protected void setItemColumnAndRow(com.vaadin.flow.component.Component component, Object columnLineStart, Object columnLineEnd, Object rowLineStart, Object rowLineEnd)
    • setItemCoordinates

      protected void setItemCoordinates(com.vaadin.flow.component.Component childComponent, int column, int row)
    • setItemCoordinates

      protected void setItemCoordinates(com.vaadin.flow.component.Component childComponent, int column, int row, int columnSpan, int rowSpan)
    • setItemColumnStart

      protected void setItemColumnStart(com.vaadin.flow.component.Component childComponent, String line)
    • setItemColumnEnd

      protected void setItemColumnEnd(com.vaadin.flow.component.Component childComponent, String line)
    • setItemColumn

      protected void setItemColumn(com.vaadin.flow.component.Component childComponent, String lineStart, String lineEnd)
    • setItemRowStart

      protected void setItemRowStart(com.vaadin.flow.component.Component childComponent, String line)
    • setItemRowEnd

      protected void setItemRowEnd(com.vaadin.flow.component.Component childComponent, String line)
    • setItemRow

      protected void setItemRow(com.vaadin.flow.component.Component childComponent, String lineStart, String lineEnd)
    • setItemColumnSpan

      protected void setItemColumnSpan(com.vaadin.flow.component.Component childComponent, int columnSpan)
    • setItemRowSpan

      protected void setItemRowSpan(com.vaadin.flow.component.Component childComponent, int rowSpan)
    • setItemColumnAndRowSpan

      protected void setItemColumnAndRowSpan(com.vaadin.flow.component.Component childComponent, int columnSpan, int rowSpan)
    • setItemArea

      protected void setItemArea(com.vaadin.flow.component.Component childComponent, String area)
    • setItemJustify

      protected void setItemJustify(com.vaadin.flow.component.Component childComponent, GridItemAlignment justifySelf)
    • setItemAlign

      protected void setItemAlign(com.vaadin.flow.component.Component childComponent, GridItemAlignment alignSelf)