Package org.patternfly.layout.flex
Class FlexItem
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,FlexItem> ElementClassListMethods<HTMLElement,,FlexItem> ElementConsumerMethods<HTMLElement,,FlexItem> ElementContainerMethods<HTMLElement,,FlexItem> ElementEventMethods<HTMLElement,,FlexItem> ElementIdMethods<HTMLElement,,FlexItem> ElementQueryMethods<HTMLElement>,ElementTextMethods<HTMLElement,,FlexItem> HTMLElementAttributeMethods<HTMLElement,,FlexItem> HTMLElementDataMethods<HTMLElement,,FlexItem> HTMLElementStyleMethods<HTMLElement,,FlexItem> HTMLElementVisibilityMethods<HTMLElement,,FlexItem> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,FlexItem> Layout
-
Method Summary
Modifier and TypeMethodDescriptionSame asalign(breakpoints(default_, align))Value to use for margin: auto at various breakpointsSame asalignSelf(breakpoints(default_, alignSelf))Value to add for align-self property at various breakpointsflex(FlexShorthand flexShorthand) Same asflex(breakpoints(default_, flexShorthand))flex(org.patternfly.style.Breakpoints<FlexShorthand> flexShorthand) Value to add for flex property at various breakpointsstatic FlexItemflexItem()static <E extends HTMLElement>
FlexItemflexItem(HTMLContainerBuilder<E> builder) fullWidth(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to set width: 100% at various breakpointsgrow(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to add flex: grow at various breakpointsSame asorder(breakpoints(default_, order))shrink(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to add flex: shrink at various breakpointsSame asspacer(breakpoints(default_, spacer))Spacers at various breakpointsthat()Methods inherited from class org.patternfly.layout.BaseLayout
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.ElementContainerMethods
add, add, add, 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.ElementTextMethods
text, textMethods 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
hidden
-
Method Details
-
flexItem
-
flexItem
-
align
Same asalign(breakpoints(default_, align)) -
align
Value to use for margin: auto at various breakpoints -
alignSelf
Same asalignSelf(breakpoints(default_, alignSelf)) -
alignSelf
Value to add for align-self property at various breakpoints -
flex
Same asflex(breakpoints(default_, flexShorthand)) -
flex
Value to add for flex property at various breakpoints -
fullWidth
public FlexItem fullWidth(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to set width: 100% at various breakpoints -
grow
public FlexItem grow(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to add flex: grow at various breakpoints -
order
Same asorder(breakpoints(default_, order)) -
order
-
shrink
public FlexItem shrink(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to add flex: shrink at various breakpoints -
spacer
Same asspacer(breakpoints(default_, spacer)) -
spacer
Spacers at various breakpoints -
that
-