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>
public class PageMainGroup extends SubComponent<HTMLDivElement,PageMainGroup>
Container to group multiplePageSectioncontainers. Can be used in combination with thesticky(Breakpoints)modifier to make multiple sections sticky.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <E extends HTMLElement,P extends PageSection<E,P>>
PageMainGroupaddSection(PageSection<E,P> pageSection)Adds aPageSectionto this component.PageMainGroupoverflowScroll()Modifies this component to show a scrollbar if it has overflow content.static PageMainGrouppageMainGroup()Factory method to create a new instance of this component.PageMainGroupshadowBottom()Modifies this component to have a bottom shadow.PageMainGroupshadowTop()Modifies this component to have a top shadow.PageMainGroupsticky(Breakpoints<Sticky> sticky)Modifies this component to be sticky at the given breakpoints.PageMainGroupthat()-
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 Detail
-
pageMainGroup
public static PageMainGroup pageMainGroup()
Factory method to create a new instance of this component.
-
addSection
public <E extends HTMLElement,P extends PageSection<E,P>> PageMainGroup addSection(PageSection<E,P> pageSection)
Adds aPageSectionto this component.
-
sticky
public PageMainGroup sticky(Breakpoints<Sticky> sticky)
Modifies this component to be sticky at the given breakpoints.
-
shadowTop
public PageMainGroup shadowTop()
Modifies this component to have a top shadow.
-
shadowBottom
public PageMainGroup shadowBottom()
Modifies this component to have a bottom shadow.
-
overflowScroll
public PageMainGroup overflowScroll()
Modifies this component to show a scrollbar if it has overflow content.
-
that
public PageMainGroup that()
-
-