Package org.patternfly.component.page
Class PageSidebar
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,PageSidebar>
org.patternfly.component.page.PageSidebar
- All Implemented Interfaces:
Container<HTMLElement,
,PageSidebar> Finder<HTMLElement>
,HasElement<HTMLElement,
,PageSidebar> HasHTMLElement<HTMLElement,
,PageSidebar> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,PageSidebar> Expandable<HTMLElement,
PageSidebar>
public class PageSidebar
extends SubComponent<HTMLElement,PageSidebar>
implements Expandable<HTMLElement,PageSidebar>
Container for the page sidebar.
-
Method Summary
Modifier and TypeMethodDescriptionaddBody
(PageSidebarBody body) Adds aPageSidebarBody
to this component.void
collapse
(boolean fireEvent) void
expand
(boolean fireEvent) onToggle
(ToggleHandler<PageSidebar> toggleHandler) static PageSidebar
Factory method to create a new instance of this component.that()
theme
(Brightness theme) 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, add, addAll, addAll, addAll, addAll, addAll, addAll
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
-
Method Details
-
pageSidebar
Factory method to create a new instance of this component. -
addBody
Adds aPageSidebarBody
to this component. -
keepExpanded
-
theme
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
PageSidebar>
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapse
in interfaceExpandable<HTMLElement,
PageSidebar>
-
expand
public void expand(boolean fireEvent) - Specified by:
expand
in interfaceExpandable<HTMLElement,
PageSidebar>
-