Class NavigationGroup
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,NavigationGroup>
org.patternfly.component.navigation.NavigationGroup
- All Implemented Interfaces:
Iterable<NavigationItem>,ElementAttributeMethods<HTMLElement,,NavigationGroup> ElementClassListMethods<HTMLElement,,NavigationGroup> ElementConsumerMethods<HTMLElement,,NavigationGroup> ElementContainerDelegate<HTMLElement,,NavigationGroup> ElementContainerMethods<HTMLElement,,NavigationGroup> ElementEventMethods<HTMLElement,,NavigationGroup> ElementIdMethods<HTMLElement,,NavigationGroup> ElementQueryMethods<HTMLElement>,ElementTextDelegate<HTMLElement,,NavigationGroup> ElementTextMethods<HTMLElement,,NavigationGroup> HTMLElementAttributeMethods<HTMLElement,,NavigationGroup> HTMLElementDataMethods<HTMLElement,,NavigationGroup> HTMLElementStyleMethods<HTMLElement,,NavigationGroup> HTMLElementVisibilityMethods<HTMLElement,,NavigationGroup> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,NavigationGroup> HasIdentifier<HTMLElement,,NavigationGroup> HasItems<HTMLElement,NavigationGroup, NavigationItem>
public class NavigationGroup
extends SubComponent<HTMLElement,NavigationGroup>
implements ElementContainerDelegate<HTMLElement,NavigationGroup>, ElementTextDelegate<HTMLElement,NavigationGroup>, HasIdentifier<HTMLElement,NavigationGroup>, HasItems<HTMLElement,NavigationGroup,NavigationItem>
-
Method Summary
Modifier and TypeMethodDescriptionadd(NavigationItem item) voidclear()booleaninsertItemAfter(NavigationItem item, String afterIdentifier) insertItemBefore(NavigationItem item, String beforeIdentifier) booleanisEmpty()iterator()static NavigationGroupnavigationGroup(String identifier) static NavigationGroupnavigationGroup(String identifier, String text) intsize()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.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerDelegate
add, add, addMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.ElementTextDelegate
text, textMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
containerDelegate
- Specified by:
containerDelegatein interfaceElementContainerDelegate<HTMLElement,NavigationGroup>
-
textDelegate
- Specified by:
textDelegatein interfaceElementTextDelegate<HTMLElement,NavigationGroup>
-
addDivider
-
add
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,NavigationGroup>
-
identifier
- Specified by:
identifierin interfaceHasIdentifier<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>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLElement,NavigationGroup, NavigationItem>
-
item
- Specified by:
itemin interfaceHasItems<HTMLElement,NavigationGroup, NavigationItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,NavigationGroup, NavigationItem>