Package org.patternfly.component.drawer
Class Drawer
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,Drawer> ElementClassListMethods<HTMLElement,,Drawer> ElementConsumerMethods<HTMLElement,,Drawer> ElementContainerMethods<HTMLElement,,Drawer> ElementEventMethods<HTMLElement,,Drawer> ElementIdMethods<HTMLElement,,Drawer> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,Drawer> HTMLElementDataMethods<HTMLElement,,Drawer> HTMLElementStyleMethods<HTMLElement,,Drawer> HTMLElementVisibilityMethods<HTMLElement,,Drawer> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Drawer> Component,Expandable<HTMLElement,,Drawer> org.patternfly.style.Modifiers.Inline<HTMLElement,,Drawer> org.patternfly.style.Modifiers.Static<HTMLElement,Drawer>
public class Drawer
extends BaseComponent<HTMLElement,Drawer>
implements Expandable<HTMLElement,Drawer>, org.patternfly.style.Modifiers.Inline<HTMLElement,Drawer>, org.patternfly.style.Modifiers.Static<HTMLElement,Drawer>
A drawer is a sliding panel that enters from the right edge of the viewport. It can be configured to either overlay content
on a page or create a sidebar by pushing that content to the left.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(DrawerContent content) add(DrawerPanel panel) add(DrawerSection section) addContent(DrawerContent content) addPanel(DrawerPanel panel) addSection(DrawerSection section) voidcollapse(boolean fireEvent) static Drawerdrawer()voidexpand(boolean fireEvent) inline(boolean inline) that()Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggleMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Inline
inlineMethods inherited from interface org.patternfly.style.Modifiers.Static
static_, static_
-
Method Details
-
drawer
-
addSection
-
add
-
addContent
-
add
-
addPanel
-
add
-
position
-
inline
- Specified by:
inlinein interfaceorg.patternfly.style.Modifiers.Inline<HTMLElement,Drawer>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Drawer>
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapsein interfaceExpandable<HTMLElement,Drawer>
-
expand
public void expand(boolean fireEvent) - Specified by:
expandin interfaceExpandable<HTMLElement,Drawer>
-