Uses of Class
org.patternfly.layout.flex.Flex

Packages that use Flex
Package
Description
Provides the PatternFly flex layout for building custom layouts with full control over spacing, direction, alignment, justification, wrapping, and width.
  • Uses of Flex in org.patternfly.layout.flex

    Subclasses with type arguments of type Flex in org.patternfly.layout.flex
    Modifier and Type
    Class
    Description
    class 
    The flex layout supports a completely custom layout by utilizing the PatternFly spacer and breakpoint systems.
    Methods in org.patternfly.layout.flex that return Flex
    Modifier and Type
    Method
    Description
    Flex.addItem(FlexItem item)
     
    Flex.align(Align align)
    Same as align(breakpoints(default_, align))
    Flex.align(org.patternfly.style.Breakpoints<Align> align)
    Value to use for margin: auto at various breakpoints
    Flex.alignContent(AlignContent alignContent)
    Same as alignContent(breakpoints(default_, alignContent))
    Flex.alignContent(org.patternfly.style.Breakpoints<AlignContent> alignContent)
    Value to add for align-content property at various breakpoints
    Flex.alignItems(AlignItems alignItems)
    Same as alignItems(breakpoints(default_, alignItems))
    Flex.alignItems(org.patternfly.style.Breakpoints<AlignItems> alignItems)
    Value to add for align-items property at various breakpoints
    Flex.alignSelf(AlignSelf alignSelf)
    Same as alignSelf(breakpoints(default_, alignSelf))
    Flex.alignSelf(org.patternfly.style.Breakpoints<AlignSelf> alignSelf)
    Value to add for align-self property at various breakpoints
    Flex.columnGap(Gap columnGap)
    Same as columnGap(breakpoints(default_, columnGap))
    Flex.columnGap(org.patternfly.style.Breakpoints<Gap> columnGap)
    Gap between columns at various breakpoints.
    Flex.direction(Direction direction)
    Same as direction(breakpoints(default_, direction))
    Flex.direction(org.patternfly.style.Breakpoints<Direction> direction)
    Value to add for flex-direction property at various breakpoints
    Flex.display(Display display)
    Same as display(breakpoints(default_, display))
    Flex.display(org.patternfly.style.Breakpoints<Display> display)
    Value to set to display property at various breakpoints
    static Flex
    Flex.flex()
     
    static <E extends HTMLElement>
    Flex
    Flex.flex(HTMLContainerBuilder<E> builder)
     
    Flex.flex(FlexShorthand flexShorthand)
    Same as flex(breakpoints(default_, flexShorthand))
    Flex.flex(org.patternfly.style.Breakpoints<FlexShorthand> flexShorthand)
    Value to add for flex property at various breakpoints
    Flex.flexWrap(FlexWrap flexWrap)
    Same as flexWrap(breakpoints(default_, flexWrap))
    Flex.flexWrap(org.patternfly.style.Breakpoints<FlexWrap> flexWrap)
    Value to set for flex-wrap property at various breakpoints
    Flex.fullWidth(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more)
    Whether to set width: 100% at various breakpoints
    Flex.gap(Gap gap)
    Same as gap(breakpoints(default_, gap))
    Flex.gap(org.patternfly.style.Breakpoints<Gap> gap)
    Gap between items at various breakpoints.
    Flex.grow(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more)
    Whether to add flex: grow at various breakpoints
    Flex.justifyContent(JustifyContent justifyContent)
    Same as justifyContent(breakpoints(default_, justifyContent))
    Flex.justifyContent(org.patternfly.style.Breakpoints<JustifyContent> justifyContent)
    Value to add for justify-content property at various breakpoints
    Flex.order(String order)
    Same as order(breakpoints(default_, order))
    Flex.order(org.patternfly.style.Breakpoints<String> order)
     
    Flex.rowGap(Gap rowGap)
    Same as rowGap(breakpoints(default_, rowGap))
    Flex.rowGap(org.patternfly.style.Breakpoints<Gap> rowGap)
    Gap between rows at various breakpoints.
    Flex.shrink(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more)
    Whether to add flex: shrink at various breakpoints
    Flex.spaceItems(SpaceItems spaceItems)
    Same as spaceItems(breakpoints(default_, spaceItems))
    Flex.spaceItems(org.patternfly.style.Breakpoints<SpaceItems> spaceItems)
    Space items at various breakpoints
    Flex.spacer(Spacer spacer)
    Same as spacer(breakpoints(default_, spacer))
    Flex.spacer(org.patternfly.style.Breakpoints<Spacer> spacer)
    Spacers at various breakpoints
    Flex.that()