Package org.patternfly.component.page
Class PageMainSection
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,P>
-
- org.patternfly.component.page.PageSectionBuilder<HTMLElement,PageMainSection>
-
- org.patternfly.component.page.PageMainSection
-
- All Implemented Interfaces:
Container<HTMLElement,PageMainSection>,Finder<HTMLElement>,HasElement<HTMLElement,PageMainSection>,HasHTMLElement<HTMLElement,PageMainSection>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,PageMainSection>,PageSection<HTMLElement,PageMainSection>,Modifiers.Fill<HTMLElement,PageMainSection>,Modifiers.NoFill<HTMLElement,PageMainSection>
public class PageMainSection extends PageSectionBuilder<HTMLElement,PageMainSection> implements Modifiers.Fill<HTMLElement,PageMainSection>, Modifiers.NoFill<HTMLElement,PageMainSection>
Container for a section in aPageMainGrouporPageMaincomponent. Note: By default, the last/only section will grow to fill the available vertical space. You can change this behavior usingModifiers.Fill.fill()andModifiers.NoFill.noFill().
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PageMainSectioncenter()Modifies a page section body to align center.PageMainSectiondark()Modifies the section to have a dark theme and a dark transparent background.PageMainSectiondarker()Modifies the section to have a dark theme and a darker transparent background.PageMainSectionlight()Modifies the section to have a light theme.PageMainSectionnoPadding()Modifies the section to remove padding.PageMainSectionnoPadding(Breakpoint breakpoint)Modifies the section to remove padding at the given breakpoint.PageMainSectionpadding()Modifies the section to add padding.PageMainSectionpadding(Breakpoint breakpoint)Modifies the section to add padding at the given breakpoint.static PageMainSectionpageMainSection()PageMainSectionthat()-
Methods inherited from class org.patternfly.component.page.PageSectionBuilder
addBody, limitWidth, overflowScroll, shadowBottom, shadowTop, sticky, sticky
-
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
-
Methods inherited from interface org.patternfly.core.Modifiers.Fill
fill, fill
-
Methods inherited from interface org.patternfly.core.Modifiers.NoFill
noFill, noFill
-
-
-
-
Method Detail
-
pageMainSection
public static PageMainSection pageMainSection()
-
that
public PageMainSection that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,PageMainSection>
-
center
public PageMainSection center()
Modifies a page section body to align center. Please make sure to use this together with thePageSectionBuilder.limitWidth()modifier.
-
light
public PageMainSection light()
Modifies the section to have a light theme.
-
dark
public PageMainSection dark()
Modifies the section to have a dark theme and a dark transparent background.
-
darker
public PageMainSection darker()
Modifies the section to have a dark theme and a darker transparent background.
-
padding
public PageMainSection padding()
Modifies the section to add padding.
-
padding
public PageMainSection padding(Breakpoint breakpoint)
Modifies the section to add padding at the given breakpoint.
-
noPadding
public PageMainSection noPadding()
Modifies the section to remove padding.
-
noPadding
public PageMainSection noPadding(Breakpoint breakpoint)
Modifies the section to remove padding at the given breakpoint.
-
-