Package org.patternfly.component.drawer
Class Drawer
java.lang.Object
org.patternfly.component.BaseComponentFlat<HTMLElement,Drawer>
org.patternfly.component.drawer.Drawer
- All Implemented Interfaces:
Finder<HTMLElement>,HasElement<HTMLElement,,Drawer> HasHTMLElement<HTMLElement,,Drawer> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Drawer> Component,Expandable<HTMLElement,,Drawer> Modifiers.Inline<HTMLElement,Drawer>
public class Drawer
extends BaseComponentFlat<HTMLElement,Drawer>
implements Modifiers.Inline<HTMLElement,Drawer>, Expandable<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) onToggle(ToggleHandler<Drawer> toggleHandler) static_()Same as static_(true)static_(boolean static_) Adds/removes modifier(static_)that()Methods inherited from class org.patternfly.component.BaseComponentFlat
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods inherited from interface org.patternfly.style.Modifiers.Inline
inline
-
Method Details
-
drawer
-
addSection
-
add
-
addContent
-
add
-
addPanel
-
add
-
static_
Same as static_(true) -
static_
Adds/removes modifier(static_) -
position
-
inline
- Specified by:
inlinein interfaceModifiers.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>
-