Package org.patternfly.component.list
Class SimpleListGroup
java.lang.Object
org.patternfly.component.SubComponent<E,B>
org.patternfly.component.list.SimpleListGroup
- All Implemented Interfaces:
Iterable<SimpleListItem>,Container<elemental2.dom.HTMLElement,,SimpleListGroup> Finder<elemental2.dom.HTMLElement>,HasElement<elemental2.dom.HTMLElement,,SimpleListGroup> HasHTMLElement<elemental2.dom.HTMLElement,,SimpleListGroup> IsElement<elemental2.dom.HTMLElement>,TypedBuilder<elemental2.dom.HTMLElement,,SimpleListGroup> HasItems<elemental2.dom.HTMLElement,,SimpleListGroup, SimpleListItem> WithText<elemental2.dom.HTMLElement,,SimpleListGroup> ElementDelegate<elemental2.dom.HTMLElement,SimpleListGroup>
public class SimpleListGroup
extends SubComponent<E,B>
implements HasItems<elemental2.dom.HTMLElement,SimpleListGroup,SimpleListItem>, WithText<elemental2.dom.HTMLElement,SimpleListGroup>, ElementDelegate<elemental2.dom.HTMLElement,SimpleListGroup>
-
Method Summary
Modifier and TypeMethodDescriptionadd(SimpleListItem item) addItem(SimpleListItem item) <T> SimpleListGroupaddItems(Iterable<T> items, Function<T, SimpleListItem> display) voidclear()booleanelemental2.dom.HTMLElementdelegate()booleanisEmpty()iterator()static SimpleListGroupsimpleListGroup(String text) intsize()that()Methods inherited from class org.patternfly.component.SubComponent
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, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.patternfly.core.ElementDelegate
add, add, innerHtml, textContent, textNodeMethods inherited from interface org.jboss.elemento.HasElement
apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, on, on, on, run, 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, spliterator
-
Method Details
-
simpleListGroup
-
delegate
public elemental2.dom.HTMLElement delegate()- Specified by:
delegatein interfaceElementDelegate<elemental2.dom.HTMLElement,SimpleListGroup>
-
addItems
- Specified by:
addItemsin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
addItem
- Specified by:
addItemin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
add
- Specified by:
addin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
text
- Specified by:
textin interfaceWithText<elemental2.dom.HTMLElement,SimpleListGroup>
-
that
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLElement,SimpleListGroup>
-
iterator
- Specified by:
iteratorin interfaceIterable<SimpleListItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
contains
- Specified by:
containsin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
item
- Specified by:
itemin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<elemental2.dom.HTMLElement,SimpleListGroup, SimpleListItem>
-