Module de.codecamp.vaadin.flowdui
Package de.codecamp.vaadin.components
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
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractGridLayout(com.vaadin.flow.dom.Element element) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetAlignContent(GridContentAlignment alignContent) protected voidsetAlignItems(GridItemAlignment alignItems) protected voidsetAutoColumns(String trackSizes) protected voidsetAutoFlow(GridAutoFlow gridAutoFlow) protected voidsetAutoRows(String trackSizes) protected voidsetColumnGap(String columnGap) protected voidprotected voidsetInline(boolean inline) protected voidsetItemAlign(com.vaadin.flow.component.Component childComponent, GridItemAlignment alignSelf) protected voidsetItemArea(com.vaadin.flow.component.Component childComponent, String area) protected voidsetItemColumn(com.vaadin.flow.component.Component childComponent, String lineStart, String lineEnd) protected voidsetItemColumnAndRow(com.vaadin.flow.component.Component component, Object columnLineStart, Object columnLineEnd, Object rowLineStart, Object rowLineEnd) protected voidsetItemColumnAndRowSpan(com.vaadin.flow.component.Component childComponent, int columnSpan, int rowSpan) protected voidsetItemColumnEnd(com.vaadin.flow.component.Component childComponent, String line) protected voidsetItemColumnSpan(com.vaadin.flow.component.Component childComponent, int columnSpan) protected voidsetItemColumnStart(com.vaadin.flow.component.Component childComponent, String line) protected voidsetItemCoordinates(com.vaadin.flow.component.Component childComponent, int column, int row) protected voidsetItemCoordinates(com.vaadin.flow.component.Component childComponent, int column, int row, int columnSpan, int rowSpan) protected voidsetItemJustify(com.vaadin.flow.component.Component childComponent, GridItemAlignment justifySelf) protected voidsetItemRow(com.vaadin.flow.component.Component childComponent, String lineStart, String lineEnd) protected voidsetItemRowEnd(com.vaadin.flow.component.Component childComponent, String line) protected voidsetItemRowSpan(com.vaadin.flow.component.Component childComponent, int rowSpan) protected voidsetItemRowStart(com.vaadin.flow.component.Component childComponent, String line) protected voidsetJustifyContent(GridContentAlignment justifyContent) protected voidsetJustifyItems(GridItemAlignment justifyItems) protected voidprotected voidsetTemplateAreas(String... rows) protected voidsetTemplateColumns(String gridTemplateColumns) protected voidsetTemplateRows(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, 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.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods 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.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
-
setTemplateColumns
-
setTemplateRows
-
setTemplateAreas
-
setAutoColumns
-
setAutoRows
-
setColumnGap
-
setRowGap
-
setGaps
-
setJustifyItems
-
setAlignItems
-
setJustifyContent
-
setAlignContent
-
setItemColumnAndRow
-
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
-
setItemColumnEnd
-
setItemColumn
-
setItemRowStart
-
setItemRowEnd
-
setItemRow
-
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
-
setItemJustify
protected void setItemJustify(com.vaadin.flow.component.Component childComponent, GridItemAlignment justifySelf) -
setItemAlign
protected void setItemAlign(com.vaadin.flow.component.Component childComponent, GridItemAlignment alignSelf)
-