Package org.patternfly.layout.grid
Class Grid
- java.lang.Object
-
- org.patternfly.layout.BaseLayout<HTMLElement,Grid>
-
- org.patternfly.layout.grid.Grid
-
- All Implemented Interfaces:
Container<HTMLElement,Grid>,Finder<HTMLElement>,HasElement<HTMLElement,Grid>,HasHTMLElement<HTMLElement,Grid>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,Grid>,Layout,Modifiers.Gutter<HTMLElement,Grid>
public class Grid extends BaseLayout<HTMLElement,Grid> implements Modifiers.Gutter<HTMLElement,Grid>
The grid layout places content on a fixed 12 column grid.- See Also:
- https://www.patternfly.org/layouts/grid
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GridaddItem(GridItem item)<T> GridaddItems(Iterable<T> items, Function<T,GridItem> display)Gridcolumns(Breakpoints<Integer> columns)The number of columns all grid items should span on a specific breakpoint.static Gridgrid()static <E extends HTMLElement>
Gridgrid(HTMLContainerBuilder<E> builder)Gridorder(Breakpoints<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, add, addAll, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
-
Methods inherited from interface org.patternfly.style.Modifiers.Gutter
gutter, gutter
-
-
-
-
Method Detail
-
grid
public static Grid grid()
-
grid
public static <E extends HTMLElement> Grid grid(HTMLContainerBuilder<E> builder)
-
columns
public Grid columns(Breakpoints<Integer> columns)
The number of columns all grid items should span on a specific breakpoint.
-
order
public Grid order(Breakpoints<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.
-
that
public Grid that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Grid>
-
-