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 Details

    • addBody

      public P addBody(PageMainBody body)
      Adds a PageMainBody to this component. Use this method to wrap the content of this component inside a PageMainBody if you've applied the limitWidth() modifier.
    • add

      public P add(PageMainBody body)
      Adds a PageMainBody to this component. Use this method to wrap the content of this component inside a PageMainBody if you've applied the limitWidth() 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 a PageMainBody using addBody(PageMainBody).
    • sticky

      public P sticky(Sticky sticky)
      Same as sticky(breakpoints(default_, sticky))
    • sticky

      public P sticky(Breakpoints<Sticky> sticky)
      Modifies this component to be sticky at the given breakpoints.
    • padding

      public P padding(Padding padding)
      Same as padding(breakpoints(default_, padding))
    • padding

      public P padding(Breakpoints<Padding> padding)
    • centerAligned

      public P centerAligned()
      Flag indicating if the section content is center aligned. limitWidth() must be set for this to work.
    • 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.