Top Description Fields Constructors Methods
com.sun.javafx.scene.layout.region

public final Class LayeredBackgroundSizeConverter

extends StyleConverter<ParsedValue<ParsedValue<V, T>[], BackgroundSize>[], BackgroundSize[]>
Class Inheritance
Imports
javafx.css.ParsedValue, .StyleConverter, javafx.scene.layout.BackgroundSize, javafx.scene.text.Font

This class appears to be an artifact of the implementation, such that we need to pass values around as ParsedValues, and so we have a parsed value that just holds an array of background sizes, and the converter just pulls those background sizes back out. background-size [ , ]* = [ | auto ]{1,2} | cover | contain
See Also
background-size

Field Summary

Modifier and TypeField and Description
private static final LayeredBackgroundSizeConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Overrides javafx.css.StyleConverter.convert.

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

public static LayeredBackgroundSizeConverter
Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

LAYERED_BACKGROUND_SIZE_CONVERTERback to summary
private static final LayeredBackgroundSizeConverter LAYERED_BACKGROUND_SIZE_CONVERTER

Constructor Detail

LayeredBackgroundSizeConverterback to summary
private LayeredBackgroundSizeConverter()

Method Detail

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