Package org.patternfly.layout.flex
Class FlexItem
- java.lang.Object
-
- org.patternfly.layout.BaseLayout<HTMLElement,FlexItem>
-
- org.patternfly.layout.flex.FlexItem
-
- All Implemented Interfaces:
Container<HTMLElement,FlexItem>,Finder<HTMLElement>,HasElement<HTMLElement,FlexItem>,HasHTMLElement<HTMLElement,FlexItem>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,FlexItem>,Layout
public class FlexItem extends BaseLayout<HTMLElement,FlexItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlexItemalign(Breakpoints<Align> align)Value to use for margin: auto at various breakpointsFlexItemalignSelf(Breakpoints<AlignSelf> alignSelf)Value to add for align-self property at various breakpointsFlexItemflex(Breakpoints<FlexShorthand> flexShorthand)Value to add for flex property at various breakpointsstatic FlexItemflexItem()static <E extends HTMLElement>
FlexItemflexItem(HTMLContainerBuilder<E> builder)FlexItemfullWidth(Breakpoint breakpoint, Breakpoint... more)Whether to set width: 100% at various breakpointsFlexItemgrow(Breakpoint breakpoint, Breakpoint... more)Whether to add flex: grow at various breakpointsFlexItemorder(Breakpoints<String> order)FlexItemshrink(Breakpoint breakpoint, Breakpoint... more)Whether to add flex: shrink at various breakpointsFlexItemspacer(Breakpoints<Spacer> spacer)Spacers at various breakpointsFlexItemthat()-
Methods inherited from class org.patternfly.layout.BaseLayout
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, add, addAll, addAll, addAll, addAll, addAll, addAll
-
-
-
-
Method Detail
-
flexItem
public static FlexItem flexItem()
-
flexItem
public static <E extends HTMLElement> FlexItem flexItem(HTMLContainerBuilder<E> builder)
-
align
public FlexItem align(Breakpoints<Align> align)
Value to use for margin: auto at various breakpoints
-
alignSelf
public FlexItem alignSelf(Breakpoints<AlignSelf> alignSelf)
Value to add for align-self property at various breakpoints
-
flex
public FlexItem flex(Breakpoints<FlexShorthand> flexShorthand)
Value to add for flex property at various breakpoints
-
fullWidth
public FlexItem fullWidth(Breakpoint breakpoint, Breakpoint... more)
Whether to set width: 100% at various breakpoints
-
grow
public FlexItem grow(Breakpoint breakpoint, Breakpoint... more)
Whether to add flex: grow at various breakpoints
-
order
public FlexItem order(Breakpoints<String> order)
-
shrink
public FlexItem shrink(Breakpoint breakpoint, Breakpoint... more)
Whether to add flex: shrink at various breakpoints
-
spacer
public FlexItem spacer(Breakpoints<Spacer> spacer)
Spacers at various breakpoints
-
that
public FlexItem that()
-
-