Class NavigationGroup
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,NavigationGroup>
org.patternfly.component.navigation.NavigationGroup
- All Implemented Interfaces:
Iterable<NavigationItem>
,Container<HTMLElement,
,NavigationGroup> Finder<HTMLElement>
,HasElement<HTMLElement,
,NavigationGroup> HasHTMLElement<HTMLElement,
,NavigationGroup> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,NavigationGroup> HasItems<HTMLElement,
,NavigationGroup, NavigationItem> WithIdentifier<HTMLElement,
,NavigationGroup> WithText<HTMLElement,
,NavigationGroup> ElementDelegate<HTMLElement,
NavigationGroup>
public class NavigationGroup
extends SubComponent<HTMLElement,NavigationGroup>
implements HasItems<HTMLElement,NavigationGroup,NavigationItem>, WithIdentifier<HTMLElement,NavigationGroup>, WithText<HTMLElement,NavigationGroup>, ElementDelegate<HTMLElement,NavigationGroup>
-
Method Summary
Modifier and TypeMethodDescriptionadd
(NavigationItem item) add
(NavigationLinkText text) void
clear()
delegate()
insertItemAfter
(NavigationItem item, String afterIdentifier) insertItemBefore
(NavigationItem item, String beforeIdentifier) boolean
isEmpty()
iterator()
static NavigationGroup
navigationGroup
(String identifier) static NavigationGroup
navigationGroup
(String identifier, String text) int
size()
text()
that()
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
-
delegate
- Specified by:
delegate
in interfaceElementDelegate<HTMLElement,
NavigationGroup>
-
addDivider
-
add
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
NavigationGroup>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
NavigationGroup>
-
identifier
- Specified by:
identifier
in interfaceWithIdentifier<HTMLElement,
NavigationGroup>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
NavigationGroup>
-
iterator
- Specified by:
iterator
in interfaceIterable<NavigationItem>
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLElement,
NavigationGroup, NavigationItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLElement,
NavigationGroup, NavigationItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLElement,
NavigationGroup, NavigationItem>