Class Grid
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, Grid>, ElementClassListMethods<HTMLElement, Grid>, ElementConsumerMethods<HTMLElement, Grid>, ElementContainerMethods<HTMLElement, Grid>, ElementEventMethods<HTMLElement, Grid>, ElementIdMethods<HTMLElement, Grid>, ElementQueryMethods<HTMLElement>, ElementTextMethods<HTMLElement, Grid>, HTMLElementAttributeMethods<HTMLElement, Grid>, HTMLElementDataMethods<HTMLElement, Grid>, HTMLElementStyleMethods<HTMLElement, Grid>, HTMLElementVisibilityMethods<HTMLElement, Grid>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, Grid>, org.patternfly.core.OuiaSupport<HTMLElement, Grid>, Layout, org.patternfly.style.Modifiers.Gutter<HTMLElement, Grid>
public class Grid
extends BaseLayout<HTMLElement, Grid>
implements org.patternfly.style.Modifiers.Gutter<HTMLElement, Grid>
The grid layout places content on a fixed 12 column grid.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T> Gridcolumns(int columns) Same ascolumns(breakpoints(default_, columns))The number of columns all grid items should span on a specific breakpoint.static Gridgrid()static <E extends HTMLElement>
Gridgrid(HTMLContainerBuilder<E> builder) Same asorder(breakpoints(default_, order))Modifies the flex layout element order property.span(int rows) The number of rows a column in the grid should span.that()Methods inherited from class BaseLayout
element, layoutType, ouiaComponentTypeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface ElementTextMethods
text, textMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Gutter
gutter, gutterMethods inherited from interface org.patternfly.core.OuiaSupport
initOuia, initOuia, ouiaId, ouiaSafe, ouiaTransition
-
Method Details
-
grid
-
grid
-
addItems
-
addItem
-
columns
Same ascolumns(breakpoints(default_, columns)) -
columns
-
order
-
order
-
span
The number of rows a column in the grid should span. Value should be a number 1-12. -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, Grid>
-