Class JumpLinks
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,JumpLinks>
org.patternfly.component.jumplinks.JumpLinks
- All Implemented Interfaces:
Iterable<JumpLinksItem>,Attachable,ElementAttributeMethods<HTMLElement,,JumpLinks> ElementClassListMethods<HTMLElement,,JumpLinks> ElementConsumerMethods<HTMLElement,,JumpLinks> ElementContainerMethods<HTMLElement,,JumpLinks> ElementEventMethods<HTMLElement,,JumpLinks> ElementIdMethods<HTMLElement,,JumpLinks> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,JumpLinks> HTMLElementDataMethods<HTMLElement,,JumpLinks> HTMLElementStyleMethods<HTMLElement,,JumpLinks> HTMLElementVisibilityMethods<HTMLElement,,JumpLinks> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,JumpLinks> Component,Expandable<HTMLElement,,JumpLinks> HasItems<HTMLElement,,JumpLinks, JumpLinksItem> org.patternfly.style.Modifiers.Center<HTMLElement,,JumpLinks> org.patternfly.style.Modifiers.Vertical<HTMLElement,JumpLinks>
public class JumpLinks
extends BaseComponent<HTMLElement,JumpLinks>
implements Attachable, org.patternfly.style.Modifiers.Center<HTMLElement,JumpLinks>, Expandable<HTMLElement,JumpLinks>, HasItems<HTMLElement,JumpLinks,JumpLinksItem>, org.patternfly.style.Modifiers.Vertical<HTMLElement,JumpLinks>
Jump links allow users to navigate to sections within a page.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(JumpLinksItem item) ariaToggleLabel(String label) voidattach(MutationRecord mutationRecord) voidclear()voidcollapse(boolean fireEvent) booleanvoidexpand(boolean fireEvent) expandable(org.patternfly.style.Breakpoints<org.patternfly.style.ExpandableModifier> expandable) When to collapse/expand at different breakpoints (Modifiers.Vertical.vertical()should be set to true for this to work).expandable(org.patternfly.style.ExpandableModifier expandable) Same asexpandable(breakpoints(default_, expandable))booleanisEmpty()iterator()static JumpLinksstatic JumpLinksonSelect(org.patternfly.handler.SelectHandler<JumpLinksItem> selectHandler) scrollableSelector(HTMLElement element) scrollableSelector(String selector) scrollableSelector(Supplier<HTMLElement> element) scrollableSelector(By selector) voidvoidvoidvoidselect(JumpLinksItem item) voidselect(JumpLinksItem item, boolean selected) voidselect(JumpLinksItem item, boolean fireEvent, boolean selected) intsize()that()vertical(boolean vertical) Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Attachable
detachMethods 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.ElementContainerMethods
add, add, add, 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.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggleMethods 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, spliteratorMethods inherited from interface org.patternfly.style.Modifiers.Center
center, centerMethods inherited from interface org.patternfly.style.Modifiers.Vertical
vertical
-
Method Details
-
jumpLinks
-
jumpLinks
-
attach
- Specified by:
attachin interfaceAttachable
-
add
- Specified by:
addin interfaceHasItems<HTMLElement,JumpLinks, JumpLinksItem>
-
expandable
Same asexpandable(breakpoints(default_, expandable)) -
expandable
public JumpLinks expandable(org.patternfly.style.Breakpoints<org.patternfly.style.ExpandableModifier> expandable) When to collapse/expand at different breakpoints (Modifiers.Vertical.vertical()should be set to true for this to work). -
label
-
scrollableSelector
-
scrollableSelector
-
scrollableSelector
-
scrollableSelector
-
vertical
- Specified by:
verticalin interfaceorg.patternfly.style.Modifiers.Vertical<HTMLElement,JumpLinks>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,JumpLinks>
-
ariaLabel
-
ariaToggleLabel
-
onSelect
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapsein interfaceExpandable<HTMLElement,JumpLinks>
-
expand
public void expand(boolean fireEvent) - Specified by:
expandin interfaceExpandable<HTMLElement,JumpLinks>
-
select
-
select
-
select
-
select
-
select
-
select
-
iterator
- Specified by:
iteratorin interfaceIterable<JumpLinksItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement,JumpLinks, JumpLinksItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement,JumpLinks, JumpLinksItem>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLElement,JumpLinks, JumpLinksItem>
-
item
- Specified by:
itemin interfaceHasItems<HTMLElement,JumpLinks, JumpLinksItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement,JumpLinks, JumpLinksItem>
-