public class EffectConverter extends StyleConverterImpl<ParsedValue[],Effect>
Modifier and Type | Class and Description |
---|---|
static class |
EffectConverter.DropShadowConverter |
private static class |
EffectConverter.Holder |
static class |
EffectConverter.InnerShadowConverter |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ParsedValue<ParsedValue[],Effect>,Effect> |
cache |
Modifier | Constructor and Description |
---|---|
protected |
EffectConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCache() |
Effect |
convert(ParsedValue<ParsedValue[],Effect> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static StyleConverter<ParsedValue[],Effect> |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
private static java.util.Map<ParsedValue<ParsedValue[],Effect>,Effect> cache
public static StyleConverter<ParsedValue[],Effect> getInstance()
public Effect convert(ParsedValue<ParsedValue[],Effect> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],Effect>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.public java.lang.String toString()
toString
in class java.lang.Object
public static void clearCache()