Class JumpLinks
java.lang.Object
org.patternfly.component.BaseComponentFlat<HTMLElement,JumpLinks>
org.patternfly.component.jumplinks.JumpLinks
- All Implemented Interfaces:
Iterable<JumpLinksItem>
,Attachable
,Finder<HTMLElement>
,HasElement<HTMLElement,
,JumpLinks> HasHTMLElement<HTMLElement,
,JumpLinks> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,JumpLinks> Component
,Expandable<HTMLElement,
,JumpLinks> HasItems<HTMLElement,
,JumpLinks, JumpLinksItem> Modifiers.Center<HTMLElement,
,JumpLinks> Modifiers.Vertical<HTMLElement,
JumpLinks>
public class JumpLinks
extends BaseComponentFlat<HTMLElement,JumpLinks>
implements Attachable, Modifiers.Center<HTMLElement,JumpLinks>, Expandable<HTMLElement,JumpLinks>, HasItems<HTMLElement,JumpLinks,JumpLinksItem>, 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) void
attach
(MutationRecord mutationRecord) void
clear()
void
collapse
(boolean fireEvent) void
expand
(boolean fireEvent) expandable
(Breakpoints<ExpandableModifier> expandable) When to collapse/expand at different breakpoints (Modifiers.Vertical.vertical()
should be set to true for this to work).expandable
(ExpandableModifier expandable) Same asexpandable(breakpoints(default_, expandable))
boolean
isEmpty()
iterator()
static JumpLinks
static JumpLinks
onSelect
(SelectHandler<JumpLinksItem> selectHandler) onToggle
(ToggleHandler<JumpLinks> toggleHandler) scrollableSelector
(HTMLElement element) scrollableSelector
(String selector) scrollableSelector
(Supplier<HTMLElement> element) scrollableSelector
(By selector) void
void
void
void
select
(JumpLinksItem item) void
select
(JumpLinksItem item, boolean selected) void
select
(JumpLinksItem item, boolean fireEvent, boolean selected) int
size()
that()
vertical
(boolean vertical) 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.Attachable
detach
Methods inherited from interface org.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggle
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
Methods inherited from interface org.patternfly.style.Modifiers.Center
center, center
Methods inherited from interface org.patternfly.style.Modifiers.Vertical
vertical
-
Method Details
-
jumpLinks
-
jumpLinks
-
attach
- Specified by:
attach
in interfaceAttachable
-
add
- Specified by:
add
in interfaceHasItems<HTMLElement,
JumpLinks, JumpLinksItem>
-
expandable
Same asexpandable(breakpoints(default_, expandable))
-
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:
vertical
in interfaceModifiers.Vertical<HTMLElement,
JumpLinks>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
JumpLinks>
-
ariaLabel
-
ariaToggleLabel
-
onSelect
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapse
in interfaceExpandable<HTMLElement,
JumpLinks>
-
expand
public void expand(boolean fireEvent) - Specified by:
expand
in interfaceExpandable<HTMLElement,
JumpLinks>
-
select
-
select
-
select
-
select
-
select
-
select
-
iterator
- Specified by:
iterator
in interfaceIterable<JumpLinksItem>
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLElement,
JumpLinks, JumpLinksItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLElement,
JumpLinks, JumpLinksItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLElement,
JumpLinks, JumpLinksItem>
-