Package org.patternfly.components
Class CardView<T>
- java.lang.Object
-
- org.patternfly.components.BaseComponent<elemental2.dom.HTMLDivElement,CardView<T>>
-
- org.patternfly.components.CardView<T>
-
- All Implemented Interfaces:
Container<elemental2.dom.HTMLDivElement,CardView<T>>,Finder<elemental2.dom.HTMLDivElement>,HasElement<elemental2.dom.HTMLDivElement,CardView<T>>,HasHTMLElement<elemental2.dom.HTMLDivElement,CardView<T>>,IsElement<elemental2.dom.HTMLDivElement>,TypedBuilder<elemental2.dom.HTMLDivElement,CardView<T>>,Component,Display<T>
public class CardView<T> extends BaseComponent<elemental2.dom.HTMLDivElement,CardView<T>> implements Display<T>
PatternFly card view.The card view does not manage data by itself. Use a
DataProviderand add the card view as a display to the data provider:DataProvider dataProvider = ...; CardView cardView = ...; dataProvider.addDisplay(cardView); dataProvider.update(...);
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCardView.Display<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> CardView<T>cardView(DataProvider<T> dataProvider, CardView.Display<T> display)CardView<T>compact()CardView<T>hoverable()voidshowItems(Iterable<T> items, PageInfo pageInfo)CardView<T>that()voidupdateSelection(SelectionInfo<T> selectionInfo)voidupdateSortInfo(SortInfo<T> sortInfo)-
Methods inherited from class org.patternfly.components.BaseComponent
componentType, 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, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
cardView
public static <T> CardView<T> cardView(DataProvider<T> dataProvider, CardView.Display<T> display)
-
that
public CardView<T> that()
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLDivElement,CardView<T>>
-
updateSelection
public void updateSelection(SelectionInfo<T> selectionInfo)
- Specified by:
updateSelectionin interfaceDisplay<T>
-
updateSortInfo
public void updateSortInfo(SortInfo<T> sortInfo)
- Specified by:
updateSortInfoin interfaceDisplay<T>
-
-