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(Sticky)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(Sticky sticky)Modifies this component to be sticky to the top of its container.PageMainGroupsticky(Sticky sticky, Breakpoint breakpoint)Modifies this component to be sticky to the top of its container at the given breakpoint.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, 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
-
-
-
-
Method Detail
-
pageMainGroup
public static PageMainGroup pageMainGroup()
Factory method to create a new instance of this component.
-
that
public PageMainGroup that()
-
addSection
public <E extends HTMLElement,P extends PageSection<E,P>> PageMainGroup addSection(PageSection<E,P> pageSection)
Adds aPageSectionto this component.
-
sticky
public PageMainGroup sticky(Sticky sticky)
Modifies this component to be sticky to the top of its container.
-
sticky
public PageMainGroup sticky(Sticky sticky, Breakpoint breakpoint)
Modifies this component to be sticky to the top of its container at the given breakpoint.
-
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.
-
-