T - the derivative Row typepublic class Row<T extends Row<T>> extends BaseDominoElement<elemental2.dom.HTMLDivElement,T>
More information can be found in MDN official documentation
Customize the component can be done by overwriting classes provided by GridStyles
For example:
Row.create()
.appendChild(element);
BaseDominoElement.ElementHandler<T>, BaseDominoElement.ResizeHandler<T>, BaseDominoElement.StyleEditor<E extends elemental2.dom.HTMLElement,T extends org.jboss.elemento.IsElement<E>>, BaseDominoElement.WavesStyler| Modifier and Type | Field and Description |
|---|---|
protected Columns |
columns |
protected elemental2.dom.HTMLDivElement |
row |
element| Modifier and Type | Method and Description |
|---|---|
protected Column |
addAutoSpanColumn(int span) |
T |
addColumn(Column column)
Adds new column
|
T |
appendChild(Column column)
Adds new column
|
T |
appendChild(elemental2.dom.HTMLElement element)
Adds a new element to the row
|
T |
appendChild(org.jboss.elemento.IsElement<?> element)
{@inheritDoc
|
T |
condenced()
Deprecated.
Use
condensed() ()} instead |
T |
condensed()
Fits the columns to match the row size without any margin
|
static Row_12 |
create()
Creates a grid row with default 12 columns
|
static <T extends Row<T>> |
create(Columns columns)
Creates a grid row with
columns count |
elemental2.dom.HTMLDivElement |
element()
{@inheritDoc
|
T |
fullSpan(Consumer<Column> consumer)
Adds a column which cover all the row
|
static Row_12 |
of12Colmns()
Deprecated.
Use
of12Columns() instead |
static Row_12 |
of12Columns()
Creates a grid row with 12 columns
|
static Row_16 |
of16Colmns()
Deprecated.
Use
of16Columns() instead |
static Row_16 |
of16Columns()
Creates a grid row with 16 columns
|
static Row_18 |
of18Colmns()
Deprecated.
Use
of18Columns() instead |
static Row_18 |
of18Columns()
Creates a grid row with 18 columns
|
static Row_24 |
of24Colmns()
Deprecated.
Use
of24Columns() instead |
static Row_24 |
of24Columns()
Creates a grid row with 24 columns
|
static Row_32 |
of32Colmns()
Deprecated.
Use
of32Columns() instead |
static Row_32 |
of32Columns()
Creates a grid row with 32 columns
|
T |
setGap(String gap)
Sets the spaces between columns inside the row
|
add, add, addClickListener, addCss, addCss, addEventListener, addEventListener, addEventsListener, addHideListener, addShowListener, alignCenter, alignRight, appendChild, apply, attr, blur, childNodes, clearElement, contains, contains, contains, containsCss, css, css, cssClassByIndex, cssClassesCount, cssText, disable, elevate, elevate, enable, firstChild, getAttachObserver, getAttribute, getBoundingClientRect, getChildElementCount, getClickableElement, getCollapsible, getCollapsibleElement, getDetachObserver, getDominoId, getElementsCount, getElevation, getFirstChild, getId, getTextContent, getTooltip, getWavesElement, hasAttribute, hasChildNodes, hasDirectChild, hide, hideOn, id, init, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, insertFirst, insertFirst, insertFirst, isAttached, isCollapsed, isDisabled, isEmptyElement, isEqualNode, isForceHidden, isHidden, isReadOnly, item, lastChild, length, onAttached, onDetached, onResize, pullLeft, pullRight, querySelector, querySelectorAll, remove, removeAttachObserver, removeAttribute, removeChild, removeChild, removeCss, removeCss, removeCssProperty, removeDetachObserver, removeEventListener, removeEventListener, removeHideListener, removeHideOn, removeShowListener, removeShowOn, removeTooltip, removeWaves, replaceCss, setAlignItems, setAttribute, setAttribute, setAttribute, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBottom, setBottom, setBoxShadow, setCollapseStrategy, setColor, setColor, setContent, setContent, setCssProperty, setCssProperty, setCursor, setCursor, setDisabled, setDisplay, setDisplay, setDropMenu, setFlex, setFloat, setFloat, setFontSize, setFontSize, setForceHidden, setHeight, setHeight, setId, setInnerHtml, setLeft, setLeft, setLineHeight, setLineHeight, setMargin, setMargin, setMarginBottom, setMarginBottom, setMarginLeft, setMarginLeft, setMarginRight, setMarginRight, setMarginTop, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setOpacity, setOpacity, setOverFlow, setOverFlow, setOverFlowY, setPadding, setPadding, setPaddingBottom, setPaddingBottom, setPaddingLeft, setPaddingLeft, setPaddingRight, setPaddingRight, setPaddingTop, setPaddingTop, setPointerEvents, setPosition, setPosition, setReadOnly, setRight, setRight, setTabIndex, setTextAlign, setTextAlign, setTextContent, setTooltip, setTooltip, setTooltip, setTooltip, setTop, setTop, setTransitionDuration, setWidth, setWidth, setZIndex, show, showOn, style, style, styler, textContent, toggleDisplay, toggleDisplay, withWaves, withWavesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExpandedadd, add, remove, remove, removeProperty, replace, setProperty, setPropertyprotected final Columns columns
protected elemental2.dom.HTMLDivElement row
public Row(Columns columns)
public static Row_12 create()
Row_12public static Row_12 of12Columns()
Row_12@Deprecated public static Row_12 of12Colmns()
of12Columns() insteadpublic static Row_16 of16Columns()
Row_16@Deprecated public static Row_16 of16Colmns()
of16Columns() insteadpublic static Row_18 of18Columns()
Row_18@Deprecated public static Row_18 of18Colmns()
of18Columns() insteadpublic static Row_24 of24Columns()
Row_24@Deprecated public static Row_24 of24Colmns()
of24Columns() insteadpublic static Row_32 of32Columns()
Row_32@Deprecated public static Row_32 of32Colmns()
of32Columns() insteadpublic static <T extends Row<T>> T create(Columns columns)
columns countT - the type of rowcolumns - the number of columnsRow based on the number of columnspublic T setGap(String gap)
gap - the string value of the space in CSS gap formatpublic T addColumn(Column column)
column - A new Column to addpublic T appendChild(Column column)
column - A new Column to addpublic T fullSpan(Consumer<Column> consumer)
consumer - a Consumer that provides the created columnprotected Column addAutoSpanColumn(int span)
public elemental2.dom.HTMLDivElement element()
element in interface org.jboss.elemento.IsElement<elemental2.dom.HTMLDivElement>element in class BaseDominoElement<elemental2.dom.HTMLDivElement,T extends Row<T>>public T appendChild(elemental2.dom.HTMLElement element)
element - the HTMLElement to addpublic T appendChild(org.jboss.elemento.IsElement<?> element)
appendChild in interface HasChildren<T extends Row<T>>appendChild in class BaseDominoElement<elemental2.dom.HTMLDivElement,T extends Row<T>>element - IsElement to be appended to the componentpublic T condensed()
@Deprecated public T condenced()
condensed() ()} insteadCopyright © 2019–2022 Dominokit. All rights reserved.