Package org.patternfly.component.list
Class DataList
java.lang.Object
org.patternfly.component.BaseComponent<HTMLUListElement,DataList>
org.patternfly.component.list.DataList
- All Implemented Interfaces:
Iterable<DataListItem>,Container<HTMLUListElement,,DataList> Finder<HTMLUListElement>,HasElement<HTMLUListElement,,DataList> HasHTMLElement<HTMLUListElement,,DataList> IsElement<HTMLUListElement>,TypedBuilder<HTMLUListElement,,DataList> Component,HasItems<HTMLUListElement,,DataList, DataListItem> Modifiers.Compact<HTMLUListElement,DataList>
public class DataList
extends BaseComponent<HTMLUListElement,DataList>
implements Modifiers.Compact<HTMLUListElement,DataList>, HasItems<HTMLUListElement,DataList,DataListItem>
A data list is used to display large data sets when you need a flexible layout or need to include interactive content like
charts.
-
Method Summary
Modifier and TypeMethodDescriptionadd(DataListItem item) voidclear()static DataListdataList()gridBreakpoint(GridBreakpoint breakpoint) Specifies the grid breakpointsbooleanisEmpty()iterator()intsize()that()Determines which wrapping modifier to apply to the data listMethods inherited from class org.patternfly.component.BaseComponent
componentType, 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, 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 java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.patternfly.style.Modifiers.Compact
compact, compact
-
Method Details
-
dataList
-
add
- Specified by:
addin interfaceHasItems<HTMLUListElement,DataList, DataListItem>
-
gridBreakpoint
Specifies the grid breakpoints -
wrap
Determines which wrapping modifier to apply to the data list -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLUListElement,DataList>
-
iterator
- Specified by:
iteratorin interfaceIterable<DataListItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLUListElement,DataList, DataListItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLUListElement,DataList, DataListItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLUListElement,DataList, DataListItem>
-