Package org.patternfly.component.toolbar
Class ToolbarGroup
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement,ToolbarGroup>
org.patternfly.component.toolbar.ToolbarGroup
- All Implemented Interfaces:
Iterable<ToolbarItem>
,Container<HTMLDivElement,
,ToolbarGroup> Finder<HTMLDivElement>
,HasElement<HTMLDivElement,
,ToolbarGroup> HasHTMLElement<HTMLDivElement,
,ToolbarGroup> IsElement<HTMLDivElement>
,TypedBuilder<HTMLDivElement,
,ToolbarGroup> HasItems<HTMLDivElement,
ToolbarGroup, ToolbarItem>
public class ToolbarGroup
extends SubComponent<HTMLDivElement,ToolbarGroup>
implements HasItems<HTMLDivElement,ToolbarGroup,ToolbarItem>
Container for a toolbar group.
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ToolbarItem item) void
clear()
boolean
isEmpty()
iterator()
int
size()
that()
static ToolbarGroup
Factory method to create a new instance of this component.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, 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
-
Method Details
-
toolbarGroup
Factory method to create a new instance of this component. -
add
- Specified by:
add
in interfaceHasItems<HTMLDivElement,
ToolbarGroup, ToolbarItem>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLDivElement,
ToolbarGroup>
-
iterator
- Specified by:
iterator
in interfaceIterable<ToolbarItem>
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLDivElement,
ToolbarGroup, ToolbarItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLDivElement,
ToolbarGroup, ToolbarItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLDivElement,
ToolbarGroup, ToolbarItem>
-