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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd
(DataListItem item) void
clear()
static DataList
dataList()
gridBreakpoint
(GridBreakpoint breakpoint) Specifies the grid breakpointsboolean
isEmpty()
iterator()
int
size()
that()
Determines which wrapping modifier to apply to the data listMethods inherited from class org.patternfly.component.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, 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 java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.patternfly.style.Modifiers.Compact
compact, compact
-
Method Details
-
dataList
-
add
- Specified by:
add
in interfaceHasItems<HTMLUListElement,
DataList, DataListItem>
-
gridBreakpoint
Specifies the grid breakpoints -
wrap
Determines which wrapping modifier to apply to the data list -
that
- Specified by:
that
in interfaceTypedBuilder<HTMLUListElement,
DataList>
-
iterator
- Specified by:
iterator
in interfaceIterable<DataListItem>
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLUListElement,
DataList, DataListItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLUListElement,
DataList, DataListItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLUListElement,
DataList, DataListItem>
-