Package org.patternfly.layout.gallery
Class Gallery
- All Implemented Interfaces:
Container<HTMLElement,
,Gallery> Finder<HTMLElement>
,HasElement<HTMLElement,
,Gallery> HasHTMLElement<HTMLElement,
,Gallery> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,Gallery> Layout
,Modifiers.Gutter<HTMLElement,
Gallery>
public class Gallery
extends BaseLayout<HTMLElement,Gallery>
implements Modifiers.Gutter<HTMLElement,Gallery>
The gallery layout is used to arrange content in a responsive grid. Content will wrap responsively to create uniform rows and
columns.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaddItem
(GalleryItem item) <T> Gallery
addItems
(Iterable<T> items, Function<T, GalleryItem> display) static Gallery
gallery()
static <E extends HTMLElement>
Gallerygallery
(HTMLContainerBuilder<E> builder) final Gallery
maxWidths
(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) final Gallery
minWidths
(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) that()
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, innerHtml, on, on, 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 Details
-
gallery
-
gallery
-
addItems
-
addItem
-
minWidths
@SafeVarargs public final Gallery minWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) -
maxWidths
@SafeVarargs public final Gallery maxWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) -
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
Gallery>
-