Package org.patternfly.component.page
Class PageMain
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,PageMain> ElementClassListMethods<HTMLElement,,PageMain> ElementConsumerMethods<HTMLElement,,PageMain> ElementContainerDelegate<HTMLElement,,PageMain> ElementContainerMethods<HTMLElement,,PageMain> ElementEventMethods<HTMLElement,,PageMain> ElementIdMethods<HTMLElement,,PageMain> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,PageMain> HTMLElementDataMethods<HTMLElement,,PageMain> HTMLElementStyleMethods<HTMLElement,,PageMain> HTMLElementVisibilityMethods<HTMLElement,,PageMain> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,PageMain> org.patternfly.style.Modifiers.Fill<HTMLElement,PageMain>
public class PageMain
extends SubComponent<HTMLElement,PageMain>
implements ElementContainerDelegate<HTMLElement,PageMain>, org.patternfly.style.Modifiers.Fill<HTMLElement,PageMain>
Container for the main page area. The page main container typically contains multiple
PageGroups and/or
PageSections.
pageMain("main-id")
.addGroup(pageGroup()
.addSection(pageBreadcrumb())
.addSection(pageSection()))
.addSection(pageSection())
.addSection(pageSection());
-
Method Summary
Modifier and TypeMethodDescriptionAdds aPageGroupto this component.<E extends HTMLElement,P extends PageSectionLike<E, P>>
PageMainaddSection(PageSectionLike<E, P> pageSection) Adds aPageSectionLiketo this component.static PageMainFactory method to create a new instance of this component.voidvoidvoidreplace(HTMLElement... elements) voidvoidvoidthat()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.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerDelegate
add, add, addMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Fill
fill, fill
-
Method Details
-
pageMain
Factory method to create a new instance of this component. -
containerDelegate
- Specified by:
containerDelegatein interfaceElementContainerDelegate<HTMLElement,PageMain>
-
addGroup
Adds aPageGroupto this component. -
addSection
public <E extends HTMLElement,P extends PageSectionLike<E, PageMain addSectionP>> (PageSectionLike<E, P> pageSection) Adds aPageSectionLiketo this component. -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,PageMain>
-
replace
-
replace
-
replace
-
replace
-
replace
-
replace
-