Package org.patternfly.component.page
Class PageMainGroup
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement,PageMainGroup>
org.patternfly.component.page.PageMainGroup
- All Implemented Interfaces:
Container<HTMLDivElement,
,PageMainGroup> Finder<HTMLDivElement>
,HasElement<HTMLDivElement,
,PageMainGroup> HasHTMLElement<HTMLDivElement,
,PageMainGroup> IsElement<HTMLDivElement>
,TypedBuilder<HTMLDivElement,
PageMainGroup>
Container to group multiple
PageSection
containers. Can be used in combination with the sticky(Breakpoints)
modifier to make multiple sections sticky.
pageMainGroup()
.addSection(pageMainBreadcrumb())
.addSection(pageMainSection());
-
Method Summary
Modifier and TypeMethodDescription<E extends HTMLElement,
P extends PageSection<E, P>>
PageMainGroupaddSection
(PageSection<E, P> pageSection) Adds aPageSection
to this component.Modifies this component to show a scrollbar if it has overflow content.static PageMainGroup
Factory method to create a new instance of this component.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))
that()
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
-
Method Details
-
pageMainGroup
Factory method to create a new instance of this component. -
addSection
public <E extends HTMLElement,P extends PageSection<E, PageMainGroup addSectionP>> (PageSection<E, P> pageSection) Adds aPageSection
to this component. -
sticky
Same assticky(breakpoints(default_, sticky))
-
sticky
Modifies this component to be sticky at the given breakpoints. -
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. -
that
-