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) voidclear()delegate()insertItemAfter(NavigationItem item, String afterIdentifier) insertItemBefore(NavigationItem item, String beforeIdentifier) booleanisEmpty()iterator()static NavigationGroupnavigationGroup(String identifier) static NavigationGroupnavigationGroup(String identifier, String text) intsize()text()that()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
-
delegate
- Specified by:
delegatein interfaceElementDelegate<HTMLElement,NavigationGroup>
-
addDivider
-
add
-
text
- Specified by:
textin interfaceWithText<HTMLElement,NavigationGroup>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,NavigationGroup>
-
identifier
- Specified by:
identifierin interfaceWithIdentifier<HTMLElement,NavigationGroup>
-
text
- Specified by:
textin interfaceWithText<HTMLElement,NavigationGroup>
-
iterator
- Specified by:
iteratorin interfaceIterable<NavigationItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement,NavigationGroup, NavigationItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement,NavigationGroup, NavigationItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,NavigationGroup, NavigationItem>