Package org.patternfly.component.list
Class List
- All Implemented Interfaces:
Iterable<ListItem>,ElementAttributeMethods<HTMLElement,,List> ElementClassListMethods<HTMLElement,,List> ElementConsumerMethods<HTMLElement,,List> ElementContainerMethods<HTMLElement,,List> ElementEventMethods<HTMLElement,,List> ElementIdMethods<HTMLElement,,List> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,List> HTMLElementDataMethods<HTMLElement,,List> HTMLElementStyleMethods<HTMLElement,,List> HTMLElementVisibilityMethods<HTMLElement,,List> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,List> Component,HasItems<HTMLElement,,List, ListItem> org.patternfly.style.Modifiers.Bordered<HTMLElement,,List> org.patternfly.style.Modifiers.Inline<HTMLElement,,List> org.patternfly.style.Modifiers.Plain<HTMLElement,List>
public class List
extends BaseComponent<HTMLElement,List>
implements org.patternfly.style.Modifiers.Bordered<HTMLElement,List>, HasItems<HTMLElement,List,ListItem>, org.patternfly.style.Modifiers.Inline<HTMLElement,List>, org.patternfly.style.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.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods 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>
-
addDivider
-
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>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLElement,List, ListItem>
-
item
- Specified by:
itemin interfaceHasItems<HTMLElement,List, ListItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,List, ListItem>
-