static java.lang.Object |
FlatStylingSupport.applyToAnnotatedObject(java.lang.Object obj,
java.lang.String key,
java.lang.Object value) |
Applies the given value to an annotated field of the given object.
|
static java.lang.Object |
FlatStylingSupport.applyToAnnotatedObjectOrComponent(java.lang.Object obj,
java.lang.Object comp,
java.lang.String key,
java.lang.Object value) |
Applies the given value to an annotated field of the given object
or to a property of the given component.
|
(package private) static java.lang.Object |
FlatStylingSupport.applyToField(java.lang.Object obj,
java.lang.String fieldName,
java.lang.String key,
java.lang.Object value) |
Applies the given value to a field of the given object.
|
private static java.lang.Object |
FlatStylingSupport.applyToField(java.lang.Object obj,
java.lang.String fieldName,
java.lang.String key,
java.lang.Object value,
java.util.function.Predicate<java.lang.reflect.Field> predicate) |
|
private static java.lang.Object |
FlatStylingSupport.applyToProperty(java.lang.Object obj,
java.lang.String name,
java.lang.Object value) |
Applies the given value to a property of the given object.
|
static java.util.Map<java.lang.String,java.lang.Object> |
FlatStylingSupport.parseAndApply(java.util.Map<java.lang.String,java.lang.Object> oldStyleValues,
java.lang.Object style,
java.util.function.BiFunction<java.lang.String,java.lang.Object,java.lang.Object> applyProperty) |
Parses styles in CSS syntax ("key1: value1; key2: value2; ..."),
converts the value strings into binary and invokes the given function
to apply the properties.
|