Package org.patternfly.component.page
Class PageMain
- All Implemented Interfaces:
Container<HTMLElement,
,PageMain> Finder<HTMLElement>
,HasElement<HTMLElement,
,PageMain> HasHTMLElement<HTMLElement,
,PageMain> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
PageMain>
Container for the main page area. The page main container typically contains multiple
PageMainGroup
s and/or
PageMainSection
s.
pageMain("main-id")
.addGroup(pageMainGroup()
.addSection(pageMainBreadcrumb())
.addSection(pageMainSection()))
.addSection(pageMainSection())
.addSection(pageMainSection());
-
Method Summary
Modifier and TypeMethodDescriptionaddGroup
(PageMainGroup group) Adds aPageMainGroup
to this component.<E extends HTMLElement,
P extends PageSection<E, P>>
PageMainaddSection
(PageSection<E, P> pageSection) Adds aPageSection
to this component.static PageMain
Factory method to create a new instance of this component.void
void
void
replace
(HTMLElement... elements) void
void
void
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
-
pageMain
Factory method to create a new instance of this component. -
addGroup
Adds aPageMainGroup
to this component. -
addSection
public <E extends HTMLElement,P extends PageSection<E, PageMain addSectionP>> (PageSection<E, P> pageSection) Adds aPageSection
to this component. -
that
-
replace
-
replace
-
replace
-
replace
-
replace
-
replace
-