- java.lang.Object
-
- javafx.css.StyleConverter<ParsedValue[],Effect>
-
- javafx.css.converter.EffectConverter
-
- Direct Known Subclasses:
EffectConverter.DropShadowConverter,EffectConverter.InnerShadowConverter
public class EffectConverter extends StyleConverter<ParsedValue[],Effect>
Converter to convert a string representation of anEffectto anEffect.- Since:
- 9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEffectConverter.DropShadowConverterConverter to convert aDropShadoweffect.static classEffectConverter.InnerShadowConverterConverter to convert anInnerShadoweffect.-
Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEffectConverter()Constructs an EffectConverter.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearCache()Clears the InnerShadowConverter cache.static StyleConverter<ParsedValue[],Effect>getInstance()Gets theEffectConverterinstance.-
Methods declared in class javafx.css.StyleConverter
cacheValue, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
-
-
-
-
Method Detail
-
getInstance
public static StyleConverter<ParsedValue[],Effect> getInstance()
Gets theEffectConverterinstance.- Returns:
- the
EffectConverterinstance
-
clearCache
public static void clearCache()
Clears the InnerShadowConverter cache.
-
-