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 DrawerBody or DrawerPanelHead.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddBody(DrawerBody 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(ResizeHandler<DrawerPanel> resizeHandler) Makes this drawer panel resizable.that()widths(Breakpoints<Width> widths) Width for drawer panel at various breakpoints.Same aswidths(breakpoints(default_, widths))Methods inherited from class SubComponent
element, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hidden
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
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()
-