Class EffectConverter

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 an Effect to an Effect.
Since:
9
  • Constructor Details

    • EffectConverter

      protected EffectConverter()
      Constructs an EffectConverter.
  • Method Details

    • getInstance

      public static StyleConverter<ParsedValue[],Effect> getInstance()
      Gets the EffectConverter instance.
      Returns:
      the EffectConverter instance
    • clearCache

      public static void clearCache()
      Clears the InnerShadowConverter cache.