Uses of Class
javafx.css.StyleConverter
Packages that use StyleConverter
Package
Description
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
Provides various
StyleConverter classes
that convert CSS parsed values.-
Uses of StyleConverter in javafx.css
Fields in javafx.css declared as StyleConverterModifier and TypeFieldDescriptionprotected final StyleConverter<V, T> ParsedValue.converterTheStyleConverterwhich converts the parsed value to the type of theStyleableProperty.Methods in javafx.css that return StyleConverterModifier and TypeMethodDescriptionstatic StyleConverter<String, Boolean> StyleConverter.getBooleanConverter()Return aStyleConverterthat converts "true" or "false" toBoolean.static StyleConverter<String, Color> StyleConverter.getColorConverter()Return aStyleConverterthat converts a String representation of a web color to aColor.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()AStyleConverterconverts the parsed value to the type of theStyleableProperty.static StyleConverter<?, Duration> StyleConverter.getDurationConverter()Return aStyleConverterthat converts a String representation of a duration to aDuration.static StyleConverter<ParsedValue[], Effect> StyleConverter.getEffectConverter()Return aStyleConverterthat converts a parsed representation of anEffectto anEffectstatic <E extends Enum<E>>
StyleConverter<String, E> StyleConverter.getEnumConverter(Class<E> enumClass) Return aStyleConverterthat converts a String representation of anEnumto anEnum.static StyleConverter<ParsedValue[], Font> StyleConverter.getFontConverter()Return aStyleConverterthat converts a parsed representation of aFontto anFont.static StyleConverter<ParsedValue[], Insets> StyleConverter.getInsetsConverter()Return aStyleConverterthat converts a [<length> | <percentage>]{1,4} to anInsets.static StyleConverter<ParsedValue<?, Paint>, Paint> StyleConverter.getPaintConverter()Return aStyleConverterthat converts a parsed representation of aPaintto aPaint.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 StyleConverterModifierConstructorDescriptionprotectedCssMetaData(String property, StyleConverter<?, V> converter) Construct a CssMetaData with the given parameters, initialValue is null, inherit is set to false, and no sub-properties.protectedCssMetaData(String property, StyleConverter<?, V> converter, V initialValue) Construct a CssMetaData with the given parameters, inherit set to false and no sub-properties.protectedCssMetaData(String property, StyleConverter<?, V> converter, V initialValue, boolean inherits) Construct a CssMetaData with the given parameters and no sub-properties.protectedCssMetaData(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.protectedParsedValue(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.converterModifier and TypeClassDescriptionfinal classConverter to convert aStringto aBoolean.final classConverter to convert aStringto aColor.final classConverter to convert aStringto aCursor.final classConverter to convert a combination of color and brightness values to a derivedColor.final classConverter to combine twoSizevalues.final classConverter to Convert aSizetoDuration.static final classConverts a sequence of parsed values to an array ofDurationinstances.classConverter to convert a string representation of anEffectto anEffect.static final classConverter to convert aDropShadoweffect.static final classConverter to convert anInnerShadoweffect.final classEnumConverter<E extends Enum<E>>Converter to convert a string representation of anEnumto anEnum.final classConverter to convert a parsed representation of aFontto aFont.static final classConverter to convert a parsed font size value to aNumberobject.static final classConverter to convert aStringvalue to aFontPostureobject.static final classConverter to convert aStringvalue to aFontWeightobject.final classConverter to convert a parsed value array of 1 to 4 size components to anInsets.static final classConverter to convert an array of parsed values, each of which is an array of 1 to 4 size components, to an array ofInsetsobjects.final classConverter to convert a parsed representation of color ladder values to aColor.final classConverter to convert a parsed representation of aPaintto aPaint.static final classConverter to convert image pattern parsed values to aPaintobject.static final classConverter to convert linear gradient parsed values to aPaintobject.static final classConverter to convert radial gradient parsed values to aPaintobject.static final classConverter to convert repeating image pattern parsed values to aPaintobject.static final classConverter to convert a sequence of parsed values to an array ofPaintobjects.classConverter to convert a SVG shape string into aShapeobject.final classConverter to convert aSizeto aNumber.static final classConverter to convert a sequence of sizes to an array ofNumber.final classConverter to convert aStopfrom aSizeand aColor.final classConverter for quoted strings which may have embedded unicode characters.static final classConverter to convert a sequence ofStrings to an array ofStrings.final classConverter to convert a parsed value representing URL to a URL string that is resolved relative to the location of the stylesheet.static final classConverter to convert a sequence of URLs to an array ofStrings.Methods in javafx.css.converter that return StyleConverterModifier and TypeMethodDescriptionstatic StyleConverter<String, Boolean> BooleanConverter.getInstance()Get theBooleanConverterinstance.static StyleConverter<String, Color> ColorConverter.getInstance()Gets theColorConverterinstance.static StyleConverter<String, Cursor> CursorConverter.getInstance()Gets theCursorConverterinstance.static StyleConverter<ParsedValue<?, Size>, Duration> DurationConverter.getInstance()Gets theDurationConverterinstance.static StyleConverter<ParsedValue[], Effect> EffectConverter.getInstance()Gets theEffectConverterinstance.static StyleConverter<?, ?> EnumConverter.getInstance(String ename) Gets anEnumConverterinstance for a given enum name.static StyleConverter<ParsedValue[], Font> FontConverter.getInstance()Gets theFontConverterinstance.static StyleConverter<ParsedValue[], Insets> InsetsConverter.getInstance()Gets theInsetsConverterinstance.static StyleConverter<ParsedValue<?, Paint>, Paint> PaintConverter.getInstance()Gets thePaintConverterinstance.static StyleConverter<String, Shape> ShapeConverter.getInstance()Gets theShapeConverterinstance.static StyleConverter<ParsedValue<?, Size>, Number> SizeConverter.getInstance()Gets theSizeConverterinstance.static StyleConverter<String, String> StringConverter.getInstance()Get theStringConverterinstance.static StyleConverter<ParsedValue[], String> URLConverter.getInstance()Gets theURLConverterinstance.static StyleConverter<?, ?> EnumConverter.readBinary(DataInputStream is, String[] strings) Reads binaryStyleConverterdata from a givenDataInputStream.