- Direct Known Subclasses:
EffectConverter.DropShadowConverter
,EffectConverter.InnerShadowConverter
public class EffectConverter extends StyleConverter<ParsedValue[],Effect>
Converter to convert a string representation of an
Effect
to an Effect
.- Since:
- 9
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EffectConverter.DropShadowConverter
Converter to convert aDropShadow
effect.static class
EffectConverter.InnerShadowConverter
Converter to convert anInnerShadow
effect.Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
Constructor Summary
Constructors Modifier Constructor Description protected
EffectConverter()
Constructs an EffectConverter. -
Method Summary
Modifier and Type Method Description static void
clearCache()
Clears the InnerShadowConverter cache.static StyleConverter<ParsedValue[],Effect>
getInstance()
Gets theEffectConverter
instance.Methods declared in class javafx.css.StyleConverter
cacheValue, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
-
Constructor Details
-
EffectConverter
protected EffectConverter()Constructs an EffectConverter.
-
-
Method Details
-
getInstance
Gets theEffectConverter
instance.- Returns:
- the
EffectConverter
instance
-
clearCache
public static void clearCache()Clears the InnerShadowConverter cache.
-