Uses of Class javafx.css.StyleConverter (JavaFX 27)
Description: use: module: javafx.graphics, package: javafx.css, class: StyleConverter

# Uses of Class
javafx.css.StyleConverter

Packages that use StyleConverter
Package
Description
javafx.css
Provides API for making properties styleable via CSS and for supporting pseudo-class state.
javafx.css.converter
Provides various `StyleConverter` classes that convert CSS parsed values.

- ## Uses of StyleConverter in javafx.css

  Fields in javafx.css declared as StyleConverter
  Modifier and Type
  Field
  Description
  `protected final StyleConverter<V,T>`
  ParsedValue.`converter`
  The `StyleConverter` which converts the parsed value to the type of the `StyleableProperty`.
  Methods in javafx.css that return StyleConverter
  Modifier and Type
  Method
  Description
  `static StyleConverter<String,Boolean>`
  StyleConverter.`getBooleanConverter()`
  Return a `StyleConverter` that converts "true" or "false" to `Boolean`.
  `static StyleConverter<String,Color>`
  StyleConverter.`getColorConverter()`
  Return a `StyleConverter` that converts a String representation of a web color to a `Color`.
  `final StyleConverter<?,V>`
  CssMetaData.`getConverter()`
  Gets the CSS converter that handles conversion from a CSS value to a Java Object.
  `final StyleConverter<V,T>`
  ParsedValue.`getConverter()`
  A `StyleConverter` converts the parsed value to the type of the `StyleableProperty`.
  `static StyleConverter<?,Duration>`
  StyleConverter.`getDurationConverter()`
  Return a `StyleConverter` that converts a String representation of a duration to a `Duration`.
  `static StyleConverter<ParsedValue[], Effect>`
  StyleConverter.`getEffectConverter()`
  Return a `StyleConverter` that converts a parsed representation of an `Effect` to an `Effect`
  `static <E extends Enum<E>>
  StyleConverter<String,E>`
  StyleConverter.`getEnumConverter(Class<E> enumClass)`
  Return a `StyleConverter` that converts a String representation of an `Enum` to an `Enum`.
  `static StyleConverter<ParsedValue[], Font>`
  StyleConverter.`getFontConverter()`
  Return a `StyleConverter` that converts a parsed representation of a `Font` to an `Font`.
  `static StyleConverter<ParsedValue[], Insets>`
  StyleConverter.`getInsetsConverter()`
  Return a `StyleConverter` that converts a [<length> | <percentage>]{1,4} to an `Insets`.
  `static StyleConverter<ParsedValue<?,Paint>, Paint>`
  StyleConverter.`getPaintConverter()`
  Return a `StyleConverter` that converts a parsed representation of a `Paint` to a `Paint`.
  `static StyleConverter<?,Number>`
  StyleConverter.`getSizeConverter()`
  CSS length and number values are parsed into a Size object that is converted to a Number before the value is applied.
  `static StyleConverter<String,String>`
  StyleConverter.`getStringConverter()`
  A converter for quoted strings which may have embedded unicode characters.
  `static StyleConverter<ParsedValue[], String>`
  StyleConverter.`getUrlConverter()`
  A converter for URL strings.
  `static StyleConverter<?,?>`
  StyleConverter.`readBinary(DataInputStream is, String[] strings)`
  Read binary data stream.
  Constructors in javafx.css with parameters of type StyleConverter
  Modifier
  Constructor
  Description
  `protected`
  `CssMetaData(String property, StyleConverter<?,V> converter)`
  Construct a CssMetaData with the given parameters, initialValue is null, inherit is set to false, and no sub-properties.
  `protected`
  `CssMetaData(String property, StyleConverter<?,V> converter, V initialValue)`
  Construct a CssMetaData with the given parameters, inherit set to false and no sub-properties.
  `protected`
  `CssMetaData(String property, StyleConverter<?,V> converter, V initialValue, boolean inherits)`
  Construct a CssMetaData with the given parameters and no sub-properties.
  `protected`
  `CssMetaData(String property, StyleConverter<?,V> converter, V initialValue, boolean inherits, List<CssMetaData<? extends Styleable, ?>> subProperties)`
  Construct a CssMetaData with the given parameters and no sub-properties.
  `protected`
  `ParsedValue(V value, StyleConverter<V,T> converter)`
  Create an instance of ParsedValue where the value type V is converted to the target type T using the given converter.

- ## Uses of StyleConverter in javafx.css.converter

  Subclasses of StyleConverter in javafx.css.converter
  Modifier and Type
  Class
  Description
  `final class`
  `BooleanConverter`
  Converter to convert a `String` to a `Boolean`.
  `final class`
  `ColorConverter`
  Converter to convert a `String` to a `Color`.
  `final class`
  `CursorConverter`
  Converter to convert a `String` to a `Cursor`.
  `final class`
  `DeriveColorConverter`
  Converter to convert a combination of color and brightness values to a derived `Color`.
  `final class`
  `DeriveSizeConverter`
  Converter to combine two `Size` values.
  `final class`
  `DurationConverter`
  Converter to Convert a `Size` to `Duration`.
  `static final class`
  `DurationConverter.SequenceConverter`
  Converts a sequence of parsed values to an array of `Duration` instances.
  `class`
  `EffectConverter`
  Converter to convert a string representation of an `Effect` to an `Effect`.
  `static final class`
  `EffectConverter.DropShadowConverter`
  Converter to convert a `DropShadow` effect.
  `static final class`
  `EffectConverter.InnerShadowConverter`
  Converter to convert an `InnerShadow` effect.
  `final class`
  `EnumConverter<E extends Enum<E>>`
  Converter to convert a string representation of an `Enum` to an `Enum`.
  `final class`
  `FontConverter`
  Converter to convert a parsed representation of a `Font` to a `Font`.
  `static final class`
  `FontConverter.FontSizeConverter`
  Converter to convert a parsed font size value to a `Number` object.
  `static final class`
  `FontConverter.FontStyleConverter`
  Converter to convert a `String` value to a `FontPosture` object.
  `static final class`
  `FontConverter.FontWeightConverter`
  Converter to convert a `String` value to a `FontWeight` object.
  `final class`
  `InsetsConverter`
  Converter to convert a parsed value array of 1 to 4 size components to an `Insets`.
  `static final class`
  `InsetsConverter.SequenceConverter`
  Converter to convert an array of parsed values, each of which is an array of 1 to 4 size components, to an array of `Insets` objects.
  `final class`
  `LadderConverter`
  Converter to convert a parsed representation of color ladder values to a `Color`.
  `final class`
  `PaintConverter`
  Converter to convert a parsed representation of a `Paint` to a `Paint`.
  `static final class`
  `PaintConverter.ImagePatternConverter`
  Converter to convert image pattern parsed values to a `Paint` object.
  `static final class`
  `PaintConverter.LinearGradientConverter`
  Converter to convert linear gradient parsed values to a `Paint` object.
  `static final class`
  `PaintConverter.RadialGradientConverter`
  Converter to convert radial gradient parsed values to a `Paint` object.
  `static final class`
  `PaintConverter.RepeatingImagePatternConverter`
  Converter to convert repeating image pattern parsed values to a `Paint` object.
  `static final class`
  `PaintConverter.SequenceConverter`
  Converter to convert a sequence of parsed values to an array of `Paint` objects.
  `class`
  `ShapeConverter`
  Converter to convert a SVG shape string into a `Shape` object.
  `final class`
  `SizeConverter`
  Converter to convert a `Size` to a `Number`.
  `static final class`
  `SizeConverter.SequenceConverter`
  Converter to convert a sequence of sizes to an array of `Number`.
  `final class`
  `StopConverter`
  Converter to convert a `Stop` from a `Size` and a `Color`.
  `final class`
  `StringConverter`
  Converter for quoted strings which may have embedded unicode characters.
  `static final class`
  `StringConverter.SequenceConverter`
  Converter to convert a sequence of `String`s to an array of `String`s.
  `final class`
  `URLConverter`
  Converter to convert a parsed value representing URL to a URL string that is resolved relative to the location of the stylesheet.
  `static final class`
  `URLConverter.SequenceConverter`
  Converter to convert a sequence of URLs to an array of `String`s.
  Methods in javafx.css.converter that return StyleConverter
  Modifier and Type
  Method
  Description
  `static StyleConverter<String,Boolean>`
  BooleanConverter.`getInstance()`
  Get the `BooleanConverter` instance.
  `static StyleConverter<String,Color>`
  ColorConverter.`getInstance()`
  Gets the `ColorConverter` instance.
  `static StyleConverter<String,Cursor>`
  CursorConverter.`getInstance()`
  Gets the `CursorConverter` instance.
  `static StyleConverter<ParsedValue<?,Size>, Duration>`
  DurationConverter.`getInstance()`
  Gets the `DurationConverter` instance.
  `static StyleConverter<ParsedValue[], Effect>`
  EffectConverter.`getInstance()`
  Gets the `EffectConverter` instance.
  `static StyleConverter<?,?>`
  EnumConverter.`getInstance(String ename)`
  Gets an `EnumConverter` instance for a given enum name.
  `static StyleConverter<ParsedValue[], Font>`
  FontConverter.`getInstance()`
  Gets the `FontConverter` instance.
  `static StyleConverter<ParsedValue[], Insets>`
  InsetsConverter.`getInstance()`
  Gets the `InsetsConverter` instance.
  `static StyleConverter<ParsedValue<?,Paint>, Paint>`
  PaintConverter.`getInstance()`
  Gets the `PaintConverter` instance.
  `static StyleConverter<String,Shape>`
  ShapeConverter.`getInstance()`
  Gets the `ShapeConverter` instance.
  `static StyleConverter<ParsedValue<?,Size>, Number>`
  SizeConverter.`getInstance()`
  Gets the `SizeConverter` instance.
  `static StyleConverter<String,String>`
  StringConverter.`getInstance()`
  Get the `StringConverter` instance.
  `static StyleConverter<ParsedValue[], String>`
  URLConverter.`getInstance()`
  Gets the `URLConverter` instance.
  `static StyleConverter<?,?>`
  EnumConverter.`readBinary(DataInputStream is, String[] strings)`
  Reads binary `StyleConverter` data from a given `DataInputStream`.