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.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd
(BreadcrumbItem item) static Breadcrumb
void
clear()
boolean
isEmpty()
iterator()
onSelect
(SelectHandler<BreadcrumbItem> selectHandler) int
size()
that()
<T> void
updateItems
(Iterable<T> items, Function<T, BreadcrumbItem> display) Methods inherited from class org.patternfly.component.BaseComponentFlat
componentType, element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
breadcrumb
-
add
- Specified by:
add
in interfaceHasItems<HTMLElement,
Breadcrumb, BreadcrumbItem>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
Breadcrumb>
-
ariaLabel
-
onSelect
-
updateItems
-
iterator
- Specified by:
iterator
in interfaceIterable<BreadcrumbItem>
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLElement,
Breadcrumb, BreadcrumbItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLElement,
Breadcrumb, BreadcrumbItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLElement,
Breadcrumb, BreadcrumbItem>
-