Package org.patternfly.layout.grid
Class GridItem
- java.lang.Object
-
- org.patternfly.layout.BaseLayout<HTMLDivElement,GridItem>
-
- org.patternfly.layout.grid.GridItem
-
- All Implemented Interfaces:
Container<HTMLDivElement,GridItem>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,GridItem>,HasHTMLElement<HTMLDivElement,GridItem>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,GridItem>,Layout,Modifiers.Fill<HTMLDivElement,GridItem>
public class GridItem extends BaseLayout<HTMLDivElement,GridItem> implements Modifiers.Fill<HTMLDivElement,GridItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GridItemgridItem()GridItemoffset(int columns)The number of columns a grid item is offset.GridItemoffset(Tuples<Breakpoint,Integer> columns)The number of columns the grid item is offset on a specific breakpoint.GridItemorder(Tuples<Breakpoint,String> order)Modifies the flex layout element order property.GridItemrowSpan(int rows)The number of rows the grid item spans.GridItemrowSpan(Tuples<Breakpoint,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(Tuples<Breakpoint,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, 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, textContent, textNode, toggle, toggle, toggle
-
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.Fill
fill, fill
-
-
-
-
Method Detail
-
gridItem
public static GridItem gridItem()
-
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(Tuples<Breakpoint,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(Tuples<Breakpoint,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(Tuples<Breakpoint,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(Tuples<Breakpoint,String> order)
Modifies the flex layout element order property.
-
that
public GridItem that()
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,GridItem>
-
-