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) void
collapse
(boolean fireEvent) static Drawer
drawer()
void
expand
(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, element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods 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:
inline
in interfaceModifiers.Inline<HTMLElement,
Drawer>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
Drawer>
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapse
in interfaceExpandable<HTMLElement,
Drawer>
-
expand
public void expand(boolean fireEvent) - Specified by:
expand
in interfaceExpandable<HTMLElement,
Drawer>
-