Top Description Fields Constructors Methods
javafx.scene.layout

pack-priv Class BackgroundConverter

extends StyleConverter<ParsedValue<V, T>[], Background>
Class Inheritance
Imports
com.sun.javafx.css.StyleManager, com.sun.javafx.scene.layout.region.RepeatStruct, java.util.Map, javafx.css.CssMetaData, .ParsedValue, .StyleConverter, .Styleable, javafx.geometry.Insets, javafx.scene.image.Image, javafx.scene.paint.Paint

Converts the CSS for -fx-background items into a Background.

Field Summary

Modifier and TypeField and Description
pack-priv static final StyleConverter<ParsedValue<V, T>[], Background>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Background
convert(Map<CssMetaData<? extends Styleable, ?>, Object>
the constituent values
convertedValues
)

Overrides javafx.css.StyleConverter.convert.

Convert from the constituent values to the target property type.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

INSTANCEback to summary
pack-priv static final StyleConverter<ParsedValue<V, T>[], Background> INSTANCE

Constructor Detail

BackgroundConverterback to summary
pack-priv BackgroundConverter()

Method Detail

convertback to summary
public Background convert(Map<CssMetaData<? extends Styleable, ?>, Object> convertedValues)

Overrides javafx.css.StyleConverter.convert.

Doc from javafx.css.StyleConverter.convert.

Convert from the constituent values to the target property type. Implemented by Types that have Keys with subKeys.

Parameters
convertedValues:Map<CssMetaData<? extends Styleable, ?>, Object>

the constituent values

Returns:Background

the target property type

Annotations
@Override