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, writeBinarygetBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverterprivate static java.util.Map<ParsedValue<ParsedValue[],Effect>,Effect> cache
public static StyleConverter<ParsedValue[],Effect> getInstance()
public Effect convert(ParsedValue<ParsedValue[],Effect> value, Font font)
StyleConverterconvert 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.Objectpublic static void clearCache()