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