Package org.patternfly.component.panel
Class Panel
- java.lang.Object
-
- org.patternfly.component.BaseComponentFlat<HTMLDivElement,Panel>
-
- org.patternfly.component.panel.Panel
-
- All Implemented Interfaces:
Finder<HTMLDivElement>,HasElement<HTMLDivElement,Panel>,HasHTMLElement<HTMLDivElement,Panel>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,Panel>,Component,Modifiers.Bordered<HTMLDivElement,Panel>
public class Panel extends BaseComponentFlat<HTMLDivElement,Panel> implements Modifiers.Bordered<HTMLDivElement,Panel>
The panel component is a container that supports flexible content layouts. It can be used to house other components such as fields, forms, videos, buttons, and more. The panel should not be confused with the drawer component, which allows you to surface information via a collapsable container.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Paneladd(PanelFooter footer)Paneladd(PanelHeader header)Paneladd(PanelMain main)PaneladdDivider()PaneladdFooter(String footer)PaneladdFooter(PanelFooter footer)PaneladdHeader(String header)PaneladdHeader(PanelHeader header)PaneladdMain(String main)PaneladdMain(PanelMain main)static Panelpanel()Panelraised()Panelscrollable()Panelthat()-
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.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, innerHtml, 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.Bordered
bordered, bordered
-
-
-
-
Method Detail
-
panel
public static Panel panel()
-
addHeader
public Panel addHeader(PanelHeader header)
-
add
public Panel add(PanelHeader header)
-
addDivider
public Panel addDivider()
-
addFooter
public Panel addFooter(PanelFooter footer)
-
add
public Panel add(PanelFooter footer)
-
raised
public Panel raised()
-
scrollable
public Panel scrollable()
-
that
public Panel that()
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,Panel>
-
-