Package org.patternfly.component.page
Class PageSidebar
- java.lang.Object
-
- org.patternfly.component.BaseComponent<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>,Component
public class PageSidebar extends BaseComponent<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.PageSidebarcollapsed()Modifies the sidebar for the collapsed state.PageSidebarexpanded()Modifies the sidebar for the expanded state.PageSidebarlight()Modifies the sidebar to have a light theme.static PageSidebarpageSidebar()Factory method to create a new instance of this component.PageSidebarthat()voidtoggle()Toggles the collapse/expanded state of the sidebar.-
Methods inherited from class org.patternfly.component.BaseComponent
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.Container
add, add, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
pageSidebar
public static PageSidebar pageSidebar()
Factory method to create a new instance of this component.
-
that
public PageSidebar that()
-
toggle
public void toggle()
Toggles the collapse/expanded state of the sidebar.
-
addBody
public PageSidebar addBody(PageSidebarBody body)
Adds aPageSidebarBodyto this component.
-
expanded
public PageSidebar expanded()
Modifies the sidebar for the expanded state.
-
collapsed
public PageSidebar collapsed()
Modifies the sidebar for the collapsed state.
-
light
public PageSidebar light()
Modifies the sidebar to have a light theme. Note: for use with a light themedNavigationcomponent.
-
-