Package org.patternfly.component.drawer
Class DrawerPanel
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement,DrawerPanel>
org.patternfly.component.drawer.DrawerPanel
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLDivElement,,DrawerPanel> ElementClassListMethods<HTMLDivElement,,DrawerPanel> ElementConsumerMethods<HTMLDivElement,,DrawerPanel> ElementContainerMethods<HTMLDivElement,,DrawerPanel> ElementEventMethods<HTMLDivElement,,DrawerPanel> ElementIdMethods<HTMLDivElement,,DrawerPanel> ElementQueryMethods<HTMLDivElement>,HTMLElementAttributeMethods<HTMLDivElement,,DrawerPanel> HTMLElementDataMethods<HTMLDivElement,,DrawerPanel> HTMLElementStyleMethods<HTMLDivElement,,DrawerPanel> HTMLElementVisibilityMethods<HTMLDivElement,,DrawerPanel> IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,DrawerPanel>
The sliding panel in a
Drawer component. Elements should not be added directly to this subcomponent, but instead
nested inside a DrawerPanelBody or DrawerPanelHead.-
Method Summary
Modifier and TypeMethodDescriptionaddBody(DrawerPanelBody body) addHead(DrawerPanelHead head) ariaResizeLabel(String ariaResizeLabel) voidattach(MutationRecord mutationRecord) color(DrawerColor color) doubledefaultSize(String defaultSize) The starting size of a resizable drawer, in either pixels or percentage.voiddetach(MutationRecord mutationRecord) static DrawerPanelincrement(int increment) The increment amount for keyboard drawer resizing, in pixels.The maximum size of a drawer, in either pixels or percentage.The minimum size of a drawer, in either pixels or percentage.noBorder()Same as noBorder(true)noBorder(boolean noBorder) Adds/removes modifier(noBorder)onResize(org.patternfly.handler.ResizeHandler<DrawerPanel> resizeHandler) Makes this drawer panel resizable.that()widths(org.patternfly.style.Breakpoints<org.patternfly.style.Width> widths) Width for drawer panel at various breakpoints.widths(org.patternfly.style.Width widths) Same aswidths(breakpoints(default_, widths))Methods inherited from class org.patternfly.component.SubComponent
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.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
hidden
-
Method Details
-
drawerPanel
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
addHead
-
addBody
-
defaultSize
The starting size of a resizable drawer, in either pixels or percentage. -
minSize
The minimum size of a drawer, in either pixels or percentage. -
maxSize
The maximum size of a drawer, in either pixels or percentage. -
color
-
noBorder
Same as noBorder(true) -
noBorder
Adds/removes modifier(noBorder) -
resizable
Makes this drawer panel resizable. Unlike other flags, this can only be turned on, but not off. -
increment
The increment amount for keyboard drawer resizing, in pixels. -
widths
Same aswidths(breakpoints(default_, widths)) -
widths
Width for drawer panel at various breakpoints. Overridden by resizable drawerminSize(String)anddefaultSize(String). -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,DrawerPanel>
-
ariaResizeLabel
-
onResize
-
currentWidth
public double currentWidth()
-