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,PageMainNav,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 likePageMainBreadcrumbandPageMainSection.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaddBody(PageMainBody body)Adds aPageMainBodyto this component.PlimitWidth()Modifies this component to limit the max-width of the content inside.PoverflowScroll()Modifies this component to show a scrollbar if it has overflow content.PshadowBottom()Modifies this component to have a bottom shadow.PshadowTop()Modifies this component to have a top shadow.Psticky(Sticky sticky)Modifies this component to be sticky to the top of its container.Psticky(Sticky sticky, Breakpoint breakpoint)Modifies this component to be sticky to the top of its container at the given breakpoint.-
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, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
Methods inherited from interface org.jboss.elemento.TypedBuilder
that
-
-
-
-
Method Detail
-
addBody
public P addBody(PageMainBody body)
Adds aPageMainBodyto this component. Use this method to wrap the content of this component inside aPageMainBodyif you've applied thelimitWidth()modifier.
-
limitWidth
public P 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 aPageMainBodyusingaddBody(PageMainBody).
-
sticky
public P sticky(Sticky sticky)
Modifies this component to be sticky to the top of its container.
-
sticky
public P sticky(Sticky sticky, Breakpoint breakpoint)
Modifies this component to be sticky to the top of its container at the given breakpoint.
-
shadowTop
public P shadowTop()
Modifies this component to have a top shadow.
-
shadowBottom
public P shadowBottom()
Modifies this component to have a bottom shadow.
-
overflowScroll
public P overflowScroll()
Modifies this component to show a scrollbar if it has overflow content.
-
-