Package org.patternfly.layout.gallery
Class Gallery
- java.lang.Object
-
- org.patternfly.layout.BaseLayout<HTMLElement,Gallery>
-
- org.patternfly.layout.gallery.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GalleryaddItem(GalleryItem item)<T> GalleryaddItems(Iterable<T> items, Function<T,GalleryItem> display)static Gallerygallery()static <E extends HTMLElement>
Gallerygallery(HTMLContainerBuilder<E> builder)GallerymaxWidths(Tuple<Breakpoint,String> first, Tuple<Breakpoint,String>... rest)GalleryminWidths(Tuple<Breakpoint,String> first, Tuple<Breakpoint,String>... rest)Gallerythat()-
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
-
gallery
public static Gallery gallery()
-
gallery
public static <E extends HTMLElement> Gallery gallery(HTMLContainerBuilder<E> builder)
-
addItems
public <T> Gallery addItems(Iterable<T> items, Function<T,GalleryItem> display)
-
addItem
public Gallery addItem(GalleryItem item)
-
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
public Gallery that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Gallery>
-
-