Package org.patternfly.layout.grid
Class Grid
- java.lang.Object
-
- org.patternfly.layout.BaseLayout<HTMLDivElement,Grid>
-
- org.patternfly.layout.grid.Grid
-
- All Implemented Interfaces:
Container<HTMLDivElement,Grid>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,Grid>,HasHTMLElement<HTMLDivElement,Grid>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,Grid>,Layout
public class Grid extends BaseLayout<HTMLDivElement,Grid>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GridaddItem(GridItem item)Gridcols(Tuples<Breakpoint,Integer> columns)The number of columns all grid items should span on a specific breakpoint.static Gridgrid()Gridgutter()Adds modifier(gutter)Gridorder(Tuples<Breakpoint,String> order)Modifies the flex layout element order property.Gridspan(int rows)The number of rows a column in the grid should span.Gridthat()-
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, addAll, addAll, addAll, addAll, addAll
-
-
-
-
Method Detail
-
grid
public static Grid grid()
-
cols
public Grid cols(Tuples<Breakpoint,Integer> columns)
The number of columns all grid items should span on a specific breakpoint.
-
order
public Grid order(Tuples<Breakpoint,String> order)
Modifies the flex layout element order property.
-
span
public Grid span(int rows)
The number of rows a column in the grid should span. Value should be a number 1-12.
-
gutter
public Grid gutter()
Adds modifier(gutter)
-
that
public Grid that()
-
-