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.
-
Method Summary
Modifier and TypeMethodDescriptionaddItem(GalleryItem item) <T> GalleryaddItems(Iterable<T> items, Function<T, GalleryItem> display) static Gallerygallery()static <E extends HTMLElement>
Gallerygallery(HTMLContainerBuilder<E> builder) final GallerymaxWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) final GalleryminWidths(Tuple<Breakpoint, String> first, Tuple<Breakpoint, String>... rest) that()Methods inherited from class org.patternfly.layout.BaseLayout
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods 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:
thatin interfaceTypedBuilder<HTMLElement,Gallery>
-