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

public final Class LayeredBackgroundPositionConverter

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

background-position: where = [ [ [ | left | center | right ] [ | top | center | bottom ]? ] | [ [ center | [ left | right ] ? ] || [ center | [ top | bottom ] ? ] ]
See Also
background-position

Field Summary

Modifier and TypeField and Description
private static final LayeredBackgroundPositionConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public BackgroundPosition[]
convert(ParsedValue<ParsedValue<ParsedValue<V, T>[], BackgroundPosition>[], BackgroundPosition[]>
The ParsedValue to convert
value
,
Font
The Font to use when converting a relative value.
font
)

Overrides javafx.css.StyleConverter.convert.

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

public static LayeredBackgroundPositionConverter
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

LAYERED_BACKGROUND_POSITION_CONVERTERback to summary
private static final LayeredBackgroundPositionConverter LAYERED_BACKGROUND_POSITION_CONVERTER

Constructor Detail

LayeredBackgroundPositionConverterback to summary
private LayeredBackgroundPositionConverter()

Method Detail

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

Parameters
value:ParsedValue<ParsedValue<ParsedValue<V, T>[], BackgroundPosition>[], BackgroundPosition[]>

The ParsedValue to convert

font:Font

The Font to use when converting a relative value.

Returns:BackgroundPosition[]

the converted target property type

Annotations
@Override
getInstanceback to summary
public static LayeredBackgroundPositionConverter 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.

Returns:String

a string representation of the object

Annotations
@Override