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>, Modifiers.Fill<HTMLElement, PageMain>
public class PageMain
extends SubComponent<HTMLElement, PageMain>
implements ElementContainerDelegate<HTMLElement, PageMain>, 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());
-
Field Summary
Fields -
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.voidclear()static PageMainFactory method to create a new instance of this component.voidvoidvoidreplace(HTMLElement... elements) voidvoidvoidthat()Methods inherited from class SubComponent
element, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerDelegate
add, add, addMethods inherited from interface ElementContainerMethods
add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.Fill
fill, fill
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
pageMain
-
containerDelegate
- Specified by:
containerDelegatein interfaceElementContainerDelegate<HTMLElement, PageMain>
-
addGroup
-
addSection
public <E extends HTMLElement, P extends PageSectionLike<E,P>> PageMain addSection(PageSectionLike<E, P> pageSection) Adds aPageSectionLiketo this component. -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, PageMain>
-
clear
public void clear() -
replace
-
replace
-
replace
-
replace
-
replace
-
replace
-