APIdia Launch Partner
Top Description Inners Fields Constructors Methods
javafx.css.converter

public Class EffectConverter

extends StyleConverter<ParsedValue<V, T>[], Effect>
Class Inheritance
Known Direct Subclasses
javafx.css.converter.EffectConverter.DropShadowConverter, javafx.css.converter.EffectConverter.InnerShadowConverter
Imports
javafx.css.Size, .ParsedValue, .StyleConverter, javafx.scene.effect.BlurType, .DropShadow, .Effect, .InnerShadow, javafx.scene.paint.Color, javafx.scene.text.Font, java.util.Map

Converter to convert a string representation of an Effect to an Effect.
Since
9

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
EffectConverter.DropShadowConverter

Converter to convert a DropShadow effect.

private static class
public static class
EffectConverter.InnerShadowConverter

Converter to convert an InnerShadow effect.

Field Summary

Modifier and TypeField and Description
private static Map<ParsedValue<ParsedValue<V, T>[], Effect>, Effect>

Constructor Summary

AccessConstructor and Description
protected
EffectConverter()

Constructs an EffectConverter.

Method Summary

Modifier and TypeMethod and Description
public static void
clearCache()

Hides javafx.css.StyleConverter.clearCache.

Clears the InnerShadowConverter cache.

public Effect
convert(ParsedValue<ParsedValue<V, T>[], Effect> value, Font font)

Overrides javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

public static StyleConverter<ParsedValue<V, T>[], Effect>

Returns:

the EffectConverter instance
getInstance
()

Gets the EffectConverter instance.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

cacheback to summary
private static Map<ParsedValue<ParsedValue<V, T>[], Effect>, Effect> cache

Hides javafx.css.StyleConverter.cache.

Constructor Detail

EffectConverterback to summary
protected EffectConverter()

Constructs an EffectConverter.

Method Detail

clearCacheback to summary
public static void clearCache()

Hides javafx.css.StyleConverter.clearCache.

Clears the InnerShadowConverter cache.

convertback to summary
public Effect convert(ParsedValue<ParsedValue<V, T>[], Effect> value, Font font)

Overrides javafx.css.StyleConverter.convert.

Doc from javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

Annotations
@Override
getInstanceback to summary
public static StyleConverter<ParsedValue<V, T>[], Effect> getInstance()

Gets the EffectConverter instance.

Returns:StyleConverter<ParsedValue<V, T>[], Effect>

the EffectConverter instance

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
javafx.css.converter back to summary

public final Class EffectConverter.DropShadowConverter

extends EffectConverter
Class Inheritance

Converter to convert a DropShadow effect.
Since
9

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Effect
convert(ParsedValue<ParsedValue<V, T>[], Effect> value, Font font)

Overrides javafx.css.converter.EffectConverter.convert.

Convert from the parsed CSS value to the target property type.

public static EffectConverter.DropShadowConverter

Returns:

the DropShadowConverter instance
getInstance
()

Hides javafx.css.converter.EffectConverter.getInstance.

Gets the DropShadowConverter instance.

public String
toString()

Overrides javafx.css.converter.EffectConverter.toString.

Returns a string representation of the object.

Inherited from javafx.css.converter.EffectConverter:
clearCache

Constructor Detail

DropShadowConverterback to summary
private DropShadowConverter()

Method Detail

convertback to summary
public Effect convert(ParsedValue<ParsedValue<V, T>[], Effect> value, Font font)

Overrides javafx.css.converter.EffectConverter.convert.

Doc from javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

Annotations
@Override
getInstanceback to summary
public static EffectConverter.DropShadowConverter getInstance()

Hides javafx.css.converter.EffectConverter.getInstance.

Gets the DropShadowConverter instance.

Returns:EffectConverter.DropShadowConverter

the DropShadowConverter instance

toStringback to summary
public String toString()

Overrides javafx.css.converter.EffectConverter.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
javafx.css.converter back to summary

private Class EffectConverter.Holder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final EffectConverter.DropShadowConverter
pack-priv static final EffectConverter
pack-priv static final EffectConverter.InnerShadowConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DROP_SHADOW_INSTANCEback to summary
pack-priv static final EffectConverter.DropShadowConverter DROP_SHADOW_INSTANCE
EFFECT_CONVERTERback to summary
pack-priv static final EffectConverter EFFECT_CONVERTER
INNER_SHADOW_INSTANCEback to summary
pack-priv static final EffectConverter.InnerShadowConverter INNER_SHADOW_INSTANCE

Constructor Detail

Holderback to summary
private Holder()
javafx.css.converter back to summary

public final Class EffectConverter.InnerShadowConverter

extends EffectConverter
Class Inheritance

Converter to convert an InnerShadow effect.
Since
9

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Effect
convert(ParsedValue<ParsedValue<V, T>[], Effect> value, Font font)

Overrides javafx.css.converter.EffectConverter.convert.

Convert from the parsed CSS value to the target property type.

public static EffectConverter.InnerShadowConverter

Returns:

the InnerShadowConverter instance
getInstance
()

Hides javafx.css.converter.EffectConverter.getInstance.

Gets the InnerShadowConverter instance.

public String
toString()

Overrides javafx.css.converter.EffectConverter.toString.

Returns a string representation of the object.

Inherited from javafx.css.converter.EffectConverter:
clearCache

Constructor Detail

InnerShadowConverterback to summary
private InnerShadowConverter()

Method Detail

convertback to summary
public Effect convert(ParsedValue<ParsedValue<V, T>[], Effect> value, Font font)

Overrides javafx.css.converter.EffectConverter.convert.

Doc from javafx.css.StyleConverter.convert.

Convert from the parsed CSS value to the target property type.

Annotations
@Override
getInstanceback to summary
public static EffectConverter.InnerShadowConverter getInstance()

Hides javafx.css.converter.EffectConverter.getInstance.

Gets the InnerShadowConverter instance.

Returns:EffectConverter.InnerShadowConverter

the InnerShadowConverter instance

toStringback to summary
public String toString()

Overrides javafx.css.converter.EffectConverter.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override