Package org.patternfly.component.page
Class PageMainGroup
java.lang.Object
org.patternfly.component.SubComponent<elemental2.dom.HTMLDivElement,PageMainGroup>
org.patternfly.component.page.PageMainGroup
- All Implemented Interfaces:
Container<elemental2.dom.HTMLDivElement,,PageMainGroup> Finder<elemental2.dom.HTMLDivElement>,HasElement<elemental2.dom.HTMLDivElement,,PageMainGroup> HasHTMLElement<elemental2.dom.HTMLDivElement,,PageMainGroup> IsElement<elemental2.dom.HTMLDivElement>,TypedBuilder<elemental2.dom.HTMLDivElement,PageMainGroup>
Container to group multiple
PageSection containers. Can be used in combination with the sticky(Breakpoints)
modifier to make multiple sections sticky.
-
Method Summary
Modifier and TypeMethodDescription<E extends elemental2.dom.HTMLElement,P extends PageSection<E, P>>
PageMainGroupaddSection(PageSection<E, P> pageSection) Adds aPageSectionto this component.Modifies this component to show a scrollbar if it has overflow content.static PageMainGroupFactory 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
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 elemental2.dom.HTMLElement,P extends PageSection<E, PageMainGroup addSectionP>> (PageSection<E, P> pageSection) Adds aPageSectionto 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
-