Package org.patternfly.component.page
Class PageSidebar
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- 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<E,B> implements Expandable<HTMLElement,PageSidebar>
Container for the page sidebar.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PageSidebaraddBody(PageSidebarBody body)Adds aPageSidebarBodyto this component.voidcollapse(boolean fireEvent)voidexpand(boolean fireEvent)PageSidebarkeepExpanded()PageSidebaronToggle(ToggleHandler<PageSidebar> toggleHandler)static PageSidebarpageSidebar()Factory method to create a new instance of this component.PageSidebarthat()PageSidebartheme(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, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
-
-
-
Method Detail
-
pageSidebar
public static PageSidebar pageSidebar()
Factory method to create a new instance of this component.
-
addBody
public PageSidebar addBody(PageSidebarBody body)
Adds aPageSidebarBodyto this component.
-
keepExpanded
public PageSidebar keepExpanded()
-
theme
public PageSidebar theme(Brightness theme)
-
that
public PageSidebar that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,PageSidebar>
-
onToggle
public PageSidebar onToggle(ToggleHandler<PageSidebar> toggleHandler)
-
collapse
public void collapse(boolean fireEvent)
- Specified by:
collapsein interfaceExpandable<HTMLElement,PageSidebar>
-
expand
public void expand(boolean fireEvent)
- Specified by:
expandin interfaceExpandable<HTMLElement,PageSidebar>
-
-