Package org.patternfly.component.list
Class SimpleListGroup
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,SimpleListGroup>
org.patternfly.component.list.SimpleListGroup
- All Implemented Interfaces:
Iterable<SimpleListItem>
,Container<HTMLElement,
,SimpleListGroup> Finder<HTMLElement>
,HasElement<HTMLElement,
,SimpleListGroup> HasHTMLElement<HTMLElement,
,SimpleListGroup> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,SimpleListGroup> HasItems<HTMLElement,
,SimpleListGroup, SimpleListItem> WithText<HTMLElement,
,SimpleListGroup> ElementDelegate<HTMLElement,
SimpleListGroup>
public class SimpleListGroup
extends SubComponent<HTMLElement,SimpleListGroup>
implements HasItems<HTMLElement,SimpleListGroup,SimpleListItem>, WithText<HTMLElement,SimpleListGroup>, ElementDelegate<HTMLElement,SimpleListGroup>
-
Method Summary
Modifier and TypeMethodDescriptionadd
(SimpleListItem item) addItem
(SimpleListItem item) <T> SimpleListGroup
addItems
(Iterable<T> items, Function<T, SimpleListItem> display) void
clear()
delegate()
boolean
isEmpty()
iterator()
static SimpleListGroup
simpleListGroup
(String text) int
size()
that()
Methods inherited from class org.patternfly.component.SubComponent
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, addAll, addAll, addAll, addAll, addAll, addAll
Methods inherited from interface org.patternfly.core.ElementDelegate
add, add, innerHtml, textContent, textNode
Methods 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, 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
-
Method Details
-
simpleListGroup
-
delegate
- Specified by:
delegate
in interfaceElementDelegate<HTMLElement,
SimpleListGroup>
-
addItems
- Specified by:
addItems
in interfaceHasItems<HTMLElement,
SimpleListGroup, SimpleListItem>
-
addItem
- Specified by:
addItem
in interfaceHasItems<HTMLElement,
SimpleListGroup, SimpleListItem>
-
add
- Specified by:
add
in interfaceHasItems<HTMLElement,
SimpleListGroup, SimpleListItem>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
SimpleListGroup>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
SimpleListGroup>
-
iterator
- Specified by:
iterator
in interfaceIterable<SimpleListItem>
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLElement,
SimpleListGroup, SimpleListItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLElement,
SimpleListGroup, SimpleListItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLElement,
SimpleListGroup, SimpleListItem>
-