Class Toolbar
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement, Toolbar>
org.patternfly.component.toolbar.Toolbar
- All Implemented Interfaces:
ElementAttributeMethods<HTMLDivElement, Toolbar>, ElementClassListMethods<HTMLDivElement, Toolbar>, ElementConsumerMethods<HTMLDivElement, Toolbar>, ElementContainerMethods<HTMLDivElement, Toolbar>, ElementEventMethods<HTMLDivElement, Toolbar>, ElementIdMethods<HTMLDivElement, Toolbar>, ElementQueryMethods<HTMLDivElement>, HTMLElementAttributeMethods<HTMLDivElement, Toolbar>, HTMLElementDataMethods<HTMLDivElement, Toolbar>, HTMLElementStyleMethods<HTMLDivElement, Toolbar>, HTMLElementVisibilityMethods<HTMLDivElement, Toolbar>, IsElement<HTMLDivElement>, TypedBuilder<HTMLDivElement, Toolbar>, Component, Modifiers.FullHeight<HTMLDivElement, Toolbar>, Modifiers.NoPadding<HTMLDivElement, Toolbar>, Modifiers.Static<HTMLDivElement, Toolbar>, Modifiers.Sticky<HTMLDivElement, Toolbar>
public class Toolbar
extends BaseComponent<HTMLDivElement, Toolbar>
implements Modifiers.FullHeight<HTMLDivElement, Toolbar>, Modifiers.NoPadding<HTMLDivElement, Toolbar>, Modifiers.Static<HTMLDivElement, Toolbar>, Modifiers.Sticky<HTMLDivElement, Toolbar>
A toolbar allows a user to manage and manipulate a data set. Data can be presented in any valid presentation, a table, a
list, or a data visualization (chart), for example. The toolbar responsively accommodates controls and displays applied
filters in chip groups.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(ToolbarFilterContent filterContent) addContent(ToolbarContent content) addFilterContent(ToolbarFilterContent filterContent) color(ToolbarColor color) Background color variant of the toolbarinset(Breakpoints<Inset> inset) Insets at various breakpoints.Same asinset(breakpoints(default_, inset))onClearAllFilters(ComponentHandler<Toolbar> clearAllFilters) Optional callback for clearing all filters in the toolbar.voidthat()static Toolbartoolbar()Factory method to create a new instance of this component.Methods inherited from class BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.FullHeight
fullHeight, fullHeightMethods inherited from interface Modifiers.NoPadding
noPadding, noPaddingMethods inherited from interface Modifiers.Static
static_, static_Methods inherited from interface Modifiers.Sticky
sticky, sticky
-
Method Details
-
toolbar
Factory method to create a new instance of this component. -
addContent
-
addFilterContent
-
add
-
color
Background color variant of the toolbar -
inset
-
inset
Insets at various breakpoints. -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement, Toolbar>
-
onClearAllFilters
Optional callback for clearing all filters in the toolbar. -
removeFilterContent
public void removeFilterContent()
-