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

public final Class BackgroundPositionConverter

extends StyleConverter<ParsedValue<V, T>[], BackgroundPosition>
Class Inheritance
Imports
javafx.geometry.Side, javafx.scene.layout.BackgroundPosition, javafx.scene.text.Font, javafx.css.ParsedValue, .Size, .SizeUnits, .StyleConverter

Given four Sizes from the Parser, this converter will produce a BackgroundPosition object.

Field Summary

Modifier and TypeField and Description
private static final BackgroundPositionConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Overrides javafx.css.StyleConverter.convert.

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

public static BackgroundPositionConverter
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

BACKGROUND_POSITION_CONVERTERback to summary
private static final BackgroundPositionConverter BACKGROUND_POSITION_CONVERTER

Constructor Detail

BackgroundPositionConverterback to summary
private BackgroundPositionConverter()

Method Detail

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