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

public final Class DeriveSizeConverter

extends StyleConverter<ParsedValue<Size, Size>[], Size>
Class Inheritance
Imports
javafx.css.Size, .SizeUnits, .StyleConverter, .ParsedValue, javafx.scene.text.Font

Converter to combine two Size values. The primary purpose of this type is to handle "convert(size1, size2)" expressions in CSS.
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 Size
convert(ParsedValue<ParsedValue<Size, Size>[], Size> value, Font font)

Overrides javafx.css.StyleConverter.convert.

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

public static DeriveSizeConverter

Returns:

the DeriveSizeConverter instance
getInstance
()

Gets the DeriveSizeConverter instance.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Constructor Detail

DeriveSizeConverterback to summary
private DeriveSizeConverter()

Method Detail

convertback to summary
public Size convert(ParsedValue<ParsedValue<Size, Size>[], Size> 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 DeriveSizeConverter getInstance()

Gets the DeriveSizeConverter instance.

Returns:DeriveSizeConverter

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

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final DeriveSizeConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final DeriveSizeConverter INSTANCE

Constructor Detail

Holderback to summary
private Holder()