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, 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.Bordered
bordered, borderedMethods inherited from interface org.patternfly.style.Modifiers.Inline
inline, inlineMethods inherited from interface org.patternfly.style.Modifiers.Plain
plain, plain
-
Method Details
-
list
Creates an unordered list component. -
list
-
addItems
- Specified by:
addItemsin interfaceHasItems<HTMLElement,List, ListItem>
-
addItem
- Specified by:
addItemin interfaceHasItems<HTMLElement,List, ListItem>
-
add
- Specified by:
addin interfaceHasItems<HTMLElement,List, ListItem>
-
largeIcons
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,List>
-
iterator
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement,List, ListItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement,List, ListItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,List, ListItem>
-