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 aPageSidebarBodyto this component.voidcollapse(boolean fireEvent) voidexpand(boolean fireEvent) onToggle(ToggleHandler<PageSidebar> toggleHandler) static PageSidebarFactory method to create a new instance of this component.that()theme(Brightness theme) 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, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggleMethods 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 aPageSidebarBodyto this component. -
keepExpanded
-
theme
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,PageSidebar>
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapsein interfaceExpandable<HTMLElement,PageSidebar>
-
expand
public void expand(boolean fireEvent) - Specified by:
expandin interfaceExpandable<HTMLElement,PageSidebar>
-