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.flexModifier and TypeClassDescriptionclassThe flex layout supports a completely custom layout by utilizing the PatternFly spacer and breakpoint systems.Methods in org.patternfly.layout.flex that return FlexModifier and TypeMethodDescriptionSame asalign(breakpoints(default_, align))Value to use for margin: auto at various breakpointsFlex.alignContent(AlignContent alignContent) Same asalignContent(breakpoints(default_, alignContent))Flex.alignContent(org.patternfly.style.Breakpoints<AlignContent> alignContent) Value to add for align-content property at various breakpointsFlex.alignItems(AlignItems alignItems) Same asalignItems(breakpoints(default_, alignItems))Flex.alignItems(org.patternfly.style.Breakpoints<AlignItems> alignItems) Value to add for align-items property at various breakpointsSame asalignSelf(breakpoints(default_, alignSelf))Value to add for align-self property at various breakpointsSame ascolumnGap(breakpoints(default_, columnGap))Gap between columns at various breakpoints.Same asdirection(breakpoints(default_, direction))Value to add for flex-direction property at various breakpointsSame asdisplay(breakpoints(default_, display))Value to set to display property at various breakpointsstatic FlexFlex.flex()static <E extends HTMLElement>
FlexFlex.flex(HTMLContainerBuilder<E> builder) Flex.flex(FlexShorthand flexShorthand) Same asflex(breakpoints(default_, flexShorthand))Flex.flex(org.patternfly.style.Breakpoints<FlexShorthand> flexShorthand) Value to add for flex property at various breakpointsSame asflexWrap(breakpoints(default_, flexWrap))Value to set for flex-wrap property at various breakpointsFlex.fullWidth(org.patternfly.style.Breakpoint breakpoint, org.patternfly.style.Breakpoint... more) Whether to set width: 100% at various breakpointsSame asgap(breakpoints(default_, 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 breakpointsFlex.justifyContent(JustifyContent justifyContent) Same asjustifyContent(breakpoints(default_, justifyContent))Flex.justifyContent(org.patternfly.style.Breakpoints<JustifyContent> justifyContent) Value to add for justify-content property at various breakpointsSame asorder(breakpoints(default_, order))Same asrowGap(breakpoints(default_, 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 breakpointsFlex.spaceItems(SpaceItems spaceItems) Same asspaceItems(breakpoints(default_, spaceItems))Flex.spaceItems(org.patternfly.style.Breakpoints<SpaceItems> spaceItems) Space items at various breakpointsSame asspacer(breakpoints(default_, spacer))Spacers at various breakpointsFlex.that()