Package org.patternfly.style
Interface TypedModifier
- All Known Implementing Classes:
Brightness
,ExpandableModifier
,GridBreakpoint
,Inset
,Orientation
,Padding
,Size
,Status
,Sticky
,Visibility
,Width
public interface TypedModifier
-
Method Summary
Modifier and TypeMethodDescriptionmodifier()
static <T extends TypedModifier,
E extends Element, B extends TypedBuilder<E, B>>
Bswap
(B builder, E element, T value, T[] values) Swaps a typed modifier on an element builder.static <T extends TypedModifier,
E extends Element, B extends TypedBuilder<E, B>>
BSwaps a typed modifier on an element builder.value()
-
Method Details
-
swap
static <T extends TypedModifier,E extends Element, B swapB extends TypedBuilder<E, B>> (B builder, E element, T value, T[] values) Swaps a typed modifier on an element builder. Swapping is done by removing all modifiers given asvalues
and then setting the new modifier given asvalue
. -
swap
static <T extends TypedModifier,E extends Element, B swapB extends TypedBuilder<E, B>> (B builder, E element, T current, T previous, Runnable assignment) Swaps a typed modifier on an element builder. Swapping is done by removing the previous modifier, applying the current modifier, and optionally performing an assignment. -
value
String value() -
modifier
String modifier()
-