Package org.vaadin.firitin.util
Class VStyleUtil
java.lang.Object
org.vaadin.firitin.util.VStyleUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static interface
VStyleUtil.ThemeStyle<T extends Enum<T>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T>>
voidapplyOrElse
(VStyleUtil.ThemeStyle<T> value, VStyleUtil.ThemeStyle<T> defaultValue, com.vaadin.flow.component.HasElement component) static void
static void
injectAsFirst
(String css) static void
setFlexDirection
(com.vaadin.flow.component.HasStyle component, VStyleUtil.FlexDirection direction) static void
setFlexShrink
(double shrink, com.vaadin.flow.component.HasStyle component)
-
Method Details
-
inject
-
injectAsFirst
-
applyOrElse
public static <T extends Enum<T>> void applyOrElse(VStyleUtil.ThemeStyle<T> value, VStyleUtil.ThemeStyle<T> defaultValue, com.vaadin.flow.component.HasElement component) -
setFlexShrink
public static void setFlexShrink(double shrink, com.vaadin.flow.component.HasStyle component) -
setFlexDirection
public static void setFlexDirection(com.vaadin.flow.component.HasStyle component, VStyleUtil.FlexDirection direction)
-