Package org.patternfly.component.list
Class List
- All Implemented Interfaces:
Iterable<ListItem>
,Container<HTMLElement,
,List> Finder<HTMLElement>
,HasElement<HTMLElement,
,List> HasHTMLElement<HTMLElement,
,List> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,List> Component
,HasItems<HTMLElement,
,List, ListItem> Modifiers.Bordered<HTMLElement,
,List> Modifiers.Inline<HTMLElement,
,List> Modifiers.Plain<HTMLElement,
List>
public class List
extends BaseComponent<HTMLElement,List>
implements Modifiers.Bordered<HTMLElement,List>, HasItems<HTMLElement,List,ListItem>, Modifiers.Inline<HTMLElement,List>, Modifiers.Plain<HTMLElement,List>
A list component embeds a formatted list (bulleted or numbered list) into page content.
- See Also:
-
Method Summary
Methods 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.Bordered
bordered, bordered
Methods inherited from interface org.patternfly.style.Modifiers.Inline
inline, inline
Methods inherited from interface org.patternfly.style.Modifiers.Plain
plain, plain
-
Method Details
-
list
Creates an unordered list component. -
list
-
addItems
- Specified by:
addItems
in interfaceHasItems<HTMLElement,
List, ListItem>
-
addItem
- Specified by:
addItem
in interfaceHasItems<HTMLElement,
List, ListItem>
-
add
- Specified by:
add
in interfaceHasItems<HTMLElement,
List, ListItem>
-
largeIcons
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
List>
-
iterator
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLElement,
List, ListItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLElement,
List, ListItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLElement,
List, ListItem>
-