Package org.patternfly.layout.grid
Class GridItem
- java.lang.Object
-
- org.patternfly.layout.BaseLayout<HTMLElement,GridItem>
-
- org.patternfly.layout.grid.GridItem
-
- All Implemented Interfaces:
Container<HTMLElement,GridItem>,Finder<HTMLElement>,HasElement<HTMLElement,GridItem>,HasHTMLElement<HTMLElement,GridItem>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,GridItem>,Layout
public class GridItem extends BaseLayout<HTMLElement,GridItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GridItemgridItem()static <E extends HTMLElement>
GridItemgridItem(HTMLContainerBuilder<E> builder)GridItemoffset(int columns)The number of columns a grid item is offset.GridItemoffset(Breakpoints<Integer> columns)The number of columns the grid item is offset on a specific breakpoint.GridItemorder(Breakpoints<String> order)Modifies the flex layout element order property.GridItemrowSpan(int rows)The number of rows the grid item spans.GridItemrowSpan(Breakpoints<Integer> rows)The number of rows the grid item spans on a specific breakpoint.GridItemspan(int columns)The number of columns the grid item spans.GridItemspan(Breakpoints<Integer> columns)The number of columns the grid item spans on a specific breakpoint.GridItemthat()-
Methods inherited from class org.patternfly.layout.BaseLayout
element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
-
-
-
-
Method Detail
-
gridItem
public static GridItem gridItem()
-
gridItem
public static <E extends HTMLElement> GridItem gridItem(HTMLContainerBuilder<E> builder)
-
span
public GridItem span(int columns)
The number of columns the grid item spans. Value should be a number 1-12.
-
span
public GridItem span(Breakpoints<Integer> columns)
The number of columns the grid item spans on a specific breakpoint. Value should be a number 1-12.
-
rowSpan
public GridItem rowSpan(int rows)
The number of rows the grid item spans. Value should be a number 1-12.
-
rowSpan
public GridItem rowSpan(Breakpoints<Integer> rows)
The number of rows the grid item spans on a specific breakpoint. Value should be a number 1-12
-
offset
public GridItem offset(int columns)
The number of columns a grid item is offset.
-
offset
public GridItem offset(Breakpoints<Integer> columns)
The number of columns the grid item is offset on a specific breakpoint. Value should be a number 1-12
-
order
public GridItem order(Breakpoints<String> order)
Modifies the flex layout element order property.
-
that
public GridItem that()
-
-