See also :
This class provides methods for configuring the size and offset of the column within the grid. You can set the column size for different screen sizes using the onXLarge , onLarge , onMedium , onSmall , and onXSmall methods. You can also set the offset for different screen sizes using the onXLargeOffset , onLargeOffset , onMediumOffset , onSmallOffset , and onXSmallOffset methods.
Usage example:
Column column = Column.colspan(Span._6, Span._12);
column.onLarge(Span._4)
.onMedium(Span._3)
.onSmall(Span._2)
.onXSmall(Span._1);
column.onLargeOffset(Offset._3)
.onMediumOffset(Offset._2)
.onSmallOffset(Offset._1)
.onXSmallOffset(Offset._0_);
See also :
public void Row(Columns columns)
columns
The number of columns in the row.
public static Row create()
A new row with 12 columns.
public static Row of12Columns()
A new row with 12 columns.
public static Row of16Columns()
A new row with 16 columns.
public static Row of18Columns()
A new row with 18 columns.
public static Row of24Columns()
A new row with 24 columns.
public static Row of32Columns()
A new row with 32 columns.
public Row setGap(String gap)
gap
The gap value to set.
This Row instance.
public Row appendChild(Column column)
column
The column to append.
This Row instance.
public Row span1(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span2(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span3(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span4(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span5(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span6(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span7(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span8(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span9(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span10(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span11(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span12(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span13(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span14(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span15(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span16(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span17(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span18(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span19(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span20(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span21(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span22(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span23(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span24(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span25(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span26(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span27(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span28(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span29(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span30(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span31(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public Row span32(IsElement<?> content)
content
The content to be placed in the column.
This Row instance.
public HTMLDivElement element()
The HTMLDivElement element representing this Row.
public static Column colspan()
a new Column instance.
public static Column colspan(Span xLarge, Span large, Span medium, Span small, Span xsmall)
xLarge
The size of the column for extra-large screens (>=1200px).
large
The size of the column for large screens (>=992px).
medium
The size of the column for medium screens (>=768px).
small
The size of the column for small screens (>=576px).
xsmall
The size of the column for extra-small screens (< 576px).
This Column instance with the specified sizes.
public static Column colspan(Span large, Span medium, Span small, Span xsmall)
large
The size of the column for large screens (>=992px).
medium
The size of the column for medium screens (>=768px).
small
The size of the column for small screens (>=576px).
xsmall
The size of the column for extra-small screens (< 576px).
This Column instance with the specified sizes.
public static Column colspan(Span mediumAnUp, Span smallAndDown)
mediumAnUp
The size of the column for medium screens and up (>=768px).
smallAndDown
The size of the column for small screens and down (< =576px).
This Column instance with the specified sizes.
public static Column colspan(Span span)
span
The size of the column for all screen sizes.
This Column instance with the specified size for all screen sizes.
public static Column span1()
This Column instance with a size of 1 and full width.
public static Column span1(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 1, full width, and the appended content.
public static Column span2()
This Column instance with a size of 2 and full width.
public static Column span2(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 2, full width, and the appended content.
public static Column span3()
This Column instance with a size of 3 and full width.
public static Column span3(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 3, full width, and the appended content.
public static Column span4()
This Column instance with a size of 4 and full width.
public static Column span4(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 4, full width, and the appended content.
public static Column span5()
This Column instance with a size of 5 and full width.
public static Column span5(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 5, full width, and the appended content.
public static Column span6()
This Column instance with a size of 6 and full width.
public static Column span6(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 6, full width, and the appended content.
public static Column span7()
This Column instance with a size of 7 and full width.
public static Column span7(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 7, full width, and the appended content.
public static Column span8()
This Column instance with a size of 8 and full width.
public static Column span8(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 8, full width, and the appended content.
public static Column span9()
This Column instance with a size of 9 and full width.
public static Column span9(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 9, full width, and the appended content.
public static Column span10()
This Column instance with a size of 10 and full width.
public static Column span10(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 10, full width, and the appended content.
public static Column span11()
This Column instance with a size of 11 and full width.
public static Column span11(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 11, full width, and the appended content.
public static Column span12()
This Column instance with a size of 12 and full width.
public static Column span12(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 12, full width, and the appended content.
public static Column span13()
This Column instance with a size of 13 and full width.
public static Column span13(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 13, full width, and the appended content.
public static Column span14()
This Column instance with a size of 14 and full width.
public static Column span14(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 14, full width, and the appended content.
public static Column span15()
This Column instance with a size of 15 and full width.
public static Column span15(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 15, full width, and the appended content.
public static Column span16()
This Column instance with a size of 16 and full width.
public static Column span16(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 16, full width, and the appended content.
public static Column span17()
This Column instance with a size of 17 and full width.
public static Column span17(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 17, full width, and the appended content.
public static Column span18()
This Column instance with a size of 18 and full width.
public static Column span18(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 18, full width, and the appended content.
public static Column span19()
This Column instance with a size of 19 and full width.
public static Column span19(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 19, full width, and the appended content.
public static Column span20()
This Column instance with a size of 20 and full width.
public static Column span20(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 20, full width, and the appended content.
public static Column span21()
This Column instance with a size of 21 and full width.
public static Column span21(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 21, full width, and the appended content.
public static Column span22()
This Column instance with a size of 22 and full width.
public static Column span22(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 22, full width, and the appended content.
public static Column span23()
This Column instance with a size of 23 and full width.
public static Column span23(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 23, full width, and the appended content.
public static Column span24()
This Column instance with a size of 24 and full width.
public static Column span24(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 24, full width, and the appended content.
public static Column span25()
This Column instance with a size of 25 and full width.
public static Column span25(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 25, full width, and the appended content.
public static Column span26()
This Column instance with a size of 26 and full width.
public static Column span26(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 26, full width, and the appended content.
public static Column span27()
This Column instance with a size of 27 and full width.
public static Column span27(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 27, full width, and the appended content.
public static Column span28()
This Column instance with a size of 28 and full width.
public static Column span28(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 28, full width, and the appended content.
public static Column span29()
This Column instance with a size of 29 and full width.
public static Column span29(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 29, full width, and the appended content.
public static Column span30()
This Column instance with a size of 30 and full width.
public static Column span30(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 30, full width, and the appended content.
public static Column span31()
This Column instance with a size of 31 and full width.
public static Column span31(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 31, full width, and the appended content.
public static Column span32()
This Column instance with a size of 32 and full width.
public static Column span32(IsElement<?> content)
content
The content to append to the column.
This Column instance with a size of 32, full width, and the appended content.
public Column offset0()
This Column instance with an offset of 0.
public Column offset1()
This Column instance with an offset of 1.
public Column offset2()
This Column instance with an offset of 2.
public Column offset3()
This Column instance with an offset of 3.
public Column offset4()
This Column instance with an offset of 4.
public Column offset5()
This Column instance with an offset of 5.
public Column offset6()
This Column instance with an offset of 6.
public Column offset7()
This Column instance with an offset of 7.
public Column offset8()
This Column instance with an offset of 8.
public Column offset9()
This Column instance with an offset of 9.
public Column offset10()
This Column instance with an offset of 10.
public Column offset11()
This Column instance with an offset of 11.
public Column offset12()
This Column instance with an offset of 12.
public Column offset13()
This Column instance with an offset of 13.
public Column offset14()
This Column instance with an offset of 14.
public Column offset15()
This Column instance with an offset of 15.
public Column offset16()
This Column instance with an offset of 16.
public Column offset17()
This Column instance with an offset of 17.
public Column offset18()
This Column instance with an offset of 18.
public Column offset19()
This Column instance with an offset of 19.
public Column offset20()
This Column instance with an offset of 20.
public Column offset21()
This Column instance with an offset of 21.
public Column offset22()
This Column instance with an offset of 22.
public Column offset23()
This Column instance with an offset of 23.
public Column offset24()
This Column instance with an offset of 24.
public Column offset25()
This Column instance with an offset of 25.
public Column offset26()
This Column instance with an offset of 26.
public Column offset27()
This Column instance with an offset of 27.
public Column offset28()
This Column instance with an offset of 28.
public Column offset29()
This Column instance with an offset of 29.
public Column offset30()
This Column instance with an offset of 30.
public Column offset31()
This Column instance with an offset of 31.
public Column offset(Offset xLarge, Offset large, Offset medium, Offset small, Offset xsmall)
xLarge
Offset for extra-large screens (>=1200px).
large
Offset for large screens (>=992px).
medium
Offset for medium screens (>=768px).
small
Offset for small screens (>=576px).
xsmall
Offset for extra-small screens (< 576px).
This Column instance with custom offsets.
public Column offset(Offset large, Offset medium, Offset small, Offset xsmall)
large
Offset for large screens (>=992px).
medium
Offset for medium screens (>=768px).
small
Offset for small screens (>=576px).
xsmall
Offset for extra-small screens (< 576px).
This Column instance with uniform offsets.
public Column offset(Offset offset, Offset smallAndDown)
offset
Offset for medium and larger screens.
smallAndDown
Offset for small screens and below.
This Column instance with uniform and small screen offsets.
public Column offset(Offset offset)
offset
Offset for all screen sizes.
This Column instance with a uniform offset.
public Column onXLarge(Span span)
span
The column span for extra-large screens.
This Column instance with the specified span for extra-large screens.
public Column onLarge(Span span)
span
The column span for large screens.
This Column instance with the specified span for large screens.
public Column onMedium(Span span)
span
The column span for medium screens.
This Column instance with the specified span for medium screens.
public Column onSmall(Span span)
span
The column span for small screens.
This Column instance with the specified span for small screens.
public Column onXSmall(Span span)
span
The column span for extra-small screens.
This Column instance with the specified span for extra-small screens.
public Column onXLargeOffset(Offset offset)
offset
The column offset for extra-large screens.
This Column instance with the specified offset for extra-large screens.
public Column onLargeOffset(Offset offset)
offset
The column offset for large screens.
This Column instance with the specified offset for large screens.
public Column onMediumOffset(Offset offset)
offset
The column offset for medium screens.
This Column instance with the specified offset for medium screens.
public Column onSmallOffset(Offset offset)
offset
The column offset for small screens.
This Column instance with the specified offset for small screens.
public Column onXSmallOffset(Offset offset)
offset
The column offset for extra-small screens.
This Column instance with the specified offset for extra-small screens.
public PostfixCssClass getOnXLargeStyle()
The PostfixCssClass for the column style on extra-large screens.
public PostfixCssClass getOnLargeStyle()
The PostfixCssClass for the column style on large screens.
public PostfixCssClass getOnMediumStyle()
The PostfixCssClass for the column style on medium screens.
public PostfixCssClass getOnSmallStyle()
The PostfixCssClass for the column style on small screens.
public PostfixCssClass getOnXSmallStyle()
The PostfixCssClass for the column style on extra-small screens.
public PostfixCssClass getOnMediumOffsetStyle()
The PostfixCssClass for the column offset style on medium screens.
public PostfixCssClass getOnXSmallOffsetStyle()
The PostfixCssClass for the column offset style on extra-small screens.
public PostfixCssClass getOnXLargeOffsetStyle()
The PostfixCssClass for the column offset style on extra-large screens.
public PostfixCssClass getOnLargeOffsetStyle()
The PostfixCssClass for the column offset style on large screens.
public PostfixCssClass getOnSmallOffsetStyle()
The PostfixCssClass for the column offset style on small screens.