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

public final Class StopConverter

extends StyleConverter<ParsedValue<V, T>[], Stop>
Class Inheritance
Imports
javafx.css.Size, .StyleConverter, .ParsedValue, javafx.scene.paint.Color, .Stop, javafx.scene.text.Font

Converter to convert a Stop from a Size and a Color.
Since
9

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Overrides javafx.css.StyleConverter.convert.

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

public static StopConverter

Returns:

the StopConverter instance
getInstance
()

Gets the StopConverter instance.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Constructor Detail

StopConverterback to summary
private StopConverter()

Method Detail

convertback to summary
public Stop convert(ParsedValue<ParsedValue<V, T>[], Stop> 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 StopConverter getInstance()

Gets the StopConverter instance.

Returns:StopConverter

the StopConverter 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 StopConverter.Holder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final StopConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final StopConverter INSTANCE

Constructor Detail

Holderback to summary
private Holder()