Package org.patternfly.component.page
Class PageSectionBuilder<E extends HTMLElement,P extends PageSectionBuilder<E,P>>
java.lang.Object
org.patternfly.component.SubComponent<E,P>
org.patternfly.component.page.PageSectionBuilder<E,P>
- All Implemented Interfaces:
Container<E,
,P> Finder<E>
,HasElement<E,
,P> HasHTMLElement<E,
,P> IsElement<E>
,TypedBuilder<E,
,P> PageSection<E,
P>
- Direct Known Subclasses:
PageMainBreadcrumb
,PageMainNavigation
,PageMainSection
,PageMainTabs
,PageMainWizard
public abstract class PageSectionBuilder<E extends HTMLElement,P extends PageSectionBuilder<E,P>>
extends SubComponent<E,P>
implements PageSection<E,P>
Groups common methods/modifiers for page sections like
PageMainBreadcrumb
and PageMainSection
.-
Method Summary
Modifier and TypeMethodDescriptionadd
(PageMainBody body) Adds aPageMainBody
to this component.addBody
(PageMainBody body) Adds aPageMainBody
to this component.Flag indicating if the section content is center aligned.Modifies this component to limit the max-width of the content inside.Modifies this component to show a scrollbar if it has overflow content.padding
(Breakpoints<Padding> padding) Same aspadding(breakpoints(default_, padding))
Modifies this component to have a bottom shadow.Modifies this component to have a top shadow.sticky
(Breakpoints<Sticky> sticky) Modifies this component to be sticky at the given breakpoints.Same assticky(breakpoints(default_, sticky))
Methods inherited from class org.patternfly.component.SubComponent
element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
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.jboss.elemento.TypedBuilder
that
-
Method Details
-
addBody
Adds aPageMainBody
to this component. Use this method to wrap the content of this component inside aPageMainBody
if you've applied thelimitWidth()
modifier. -
add
Adds aPageMainBody
to this component. Use this method to wrap the content of this component inside aPageMainBody
if you've applied thelimitWidth()
modifier. -
limitWidth
Modifies this component to limit the max-width of the content inside. If used, please make sure to wrap the content of this component inside aPageMainBody
usingaddBody(PageMainBody)
. -
sticky
Same assticky(breakpoints(default_, sticky))
-
sticky
Modifies this component to be sticky at the given breakpoints. -
padding
Same aspadding(breakpoints(default_, padding))
-
padding
-
centerAligned
Flag indicating if the section content is center aligned.limitWidth()
must be set for this to work. -
shadowTop
Modifies this component to have a top shadow. -
shadowBottom
Modifies this component to have a bottom shadow. -
overflowScroll
Modifies this component to show a scrollbar if it has overflow content.
-