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) voidclear()delegate()booleanisEmpty()iterator()intsize()that()static ToolbarContentFactory method to create a new instance of this component.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
-
toolbarContent
Factory method to create a new instance of this component. -
delegate
- Specified by:
delegatein interfaceElementDelegate<HTMLDivElement,ToolbarContent>
-
add
- Specified by:
addin interfaceHasItems<HTMLDivElement,ToolbarContent, ToolbarItem>
-
addGroup
-
add
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,ToolbarContent>
-
iterator
- Specified by:
iteratorin interfaceIterable<ToolbarItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLDivElement,ToolbarContent, ToolbarItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLDivElement,ToolbarContent, ToolbarItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLDivElement,ToolbarContent, ToolbarItem>
-