Top Description Inners Constructors Methods
javafx.css.converter

public final Class StringConverter

extends StyleConverter<String, String>
Class Inheritance
Imports
com.sun.javafx.util.Utils, javafx.css.ParsedValue, .StyleConverter, javafx.scene.text.Font

Converter for quoted strings which may have embedded unicode characters.
Since
9

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static class
StringConverter.SequenceConverter

Converter to convert a sequence of Strings to an array of Strings.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
convert(ParsedValue<String, String> value, Font font)

Overrides javafx.css.StyleConverter.convert.

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

public static StyleConverter<String, String>

Returns:

the StringConverter instance
getInstance
()

Get the StringConverter instance.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Constructor Detail

StringConverterback to summary
private StringConverter()

Method Detail

convertback to summary
public String convert(ParsedValue<String, String> 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<String, String> getInstance()

Get the StringConverter instance.

Returns:StyleConverter<String, String>

the StringConverter 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

private Class StringConverter.Holder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final StringConverter
pack-priv static final StringConverter.SequenceConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final StringConverter INSTANCE
SEQUENCE_INSTANCEback to summary
pack-priv static final StringConverter.SequenceConverter SEQUENCE_INSTANCE

Constructor Detail

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

public final Class StringConverter.SequenceConverter

extends StyleConverter<ParsedValue<String, String>[], String[]>
Class Inheritance

Converter to convert a sequence of Strings to an array of Strings.
Since
9

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Overrides javafx.css.StyleConverter.convert.

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

public static StringConverter.SequenceConverter

Returns:

the SequenceConverter instance
getInstance
()

Get the SequenceConverter instance.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Constructor Detail

SequenceConverterback to summary
private SequenceConverter()

Method Detail

convertback to summary
public String[] convert(ParsedValue<ParsedValue<String, String>[], String[]> 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 StringConverter.SequenceConverter getInstance()

Get the SequenceConverter instance.

Returns:StringConverter.SequenceConverter

the SequenceConverter 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