Package org.patternfly.component.page
Class PageMain
- java.lang.Object
-
- org.patternfly.component.SubComponent<HTMLElement,PageMain>
-
- org.patternfly.component.page.PageMain
-
- All Implemented Interfaces:
Container<HTMLElement,PageMain>,Finder<HTMLElement>,HasElement<HTMLElement,PageMain>,HasHTMLElement<HTMLElement,PageMain>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,PageMain>
public class PageMain extends SubComponent<HTMLElement,PageMain>
Container for the main page area. The page main container typically contains multiplePageMainGroups and/orPageMainSections.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PageMainaddGroup(PageMainGroup group)Adds aPageMainGroupto this component.<E extends HTMLElement,P extends PageSection<E,P>>
PageMainaddSection(PageSection<E,P> pageSection)Adds aPageSectionto this component.static PageMainpageMain(String id)Factory method to create a new instance of this component.voidreplace(Element element)voidreplace(Element... elements)voidreplace(HTMLElement... elements)voidreplace(Iterable<?> elements)voidreplace(IsElement<?> element)voidreplace(IsElement<?>... elements)PageMainthat()-
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
-
pageMain
public static PageMain pageMain(String id)
Factory method to create a new instance of this component.
-
that
public PageMain that()
-
addGroup
public PageMain addGroup(PageMainGroup group)
Adds aPageMainGroupto this component.
-
addSection
public <E extends HTMLElement,P extends PageSection<E,P>> PageMain addSection(PageSection<E,P> pageSection)
Adds aPageSectionto this component.
-
replace
public void replace(IsElement<?> element)
-
replace
public void replace(Element element)
-
replace
public void replace(Element... elements)
-
replace
public void replace(HTMLElement... elements)
-
replace
public void replace(IsElement<?>... elements)
-
replace
public void replace(Iterable<?> elements)
-
-