Class Breadcrumb
java.lang.Object
org.patternfly.component.BaseComponentFlat<HTMLElement,Breadcrumb>
org.patternfly.component.breadcrumb.Breadcrumb
- All Implemented Interfaces:
Iterable<BreadcrumbItem>,Finder<HTMLElement>,HasElement<HTMLElement,,Breadcrumb> HasHTMLElement<HTMLElement,,Breadcrumb> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Breadcrumb> Component,HasItems<HTMLElement,Breadcrumb, BreadcrumbItem>
public class Breadcrumb
extends BaseComponentFlat<HTMLElement,Breadcrumb>
implements HasItems<HTMLElement,Breadcrumb,BreadcrumbItem>
A breadcrumb provides page context to help users navigate more efficiently and understand where they are in the application
hierarchy.
-
Method Summary
Modifier and TypeMethodDescriptionadd(BreadcrumbItem item) static Breadcrumbvoidclear()booleanisEmpty()iterator()onSelect(SelectHandler<BreadcrumbItem> selectHandler) intsize()that()<T> voidupdateItems(Iterable<T> items, Function<T, BreadcrumbItem> display) Methods inherited from class org.patternfly.component.BaseComponentFlat
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, 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
-
breadcrumb
-
add
- Specified by:
addin interfaceHasItems<HTMLElement,Breadcrumb, BreadcrumbItem>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Breadcrumb>
-
ariaLabel
-
onSelect
-
updateItems
-
iterator
- Specified by:
iteratorin interfaceIterable<BreadcrumbItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement,Breadcrumb, BreadcrumbItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement,Breadcrumb, BreadcrumbItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,Breadcrumb, BreadcrumbItem>
-