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

public Class StrokeBorderPaintConverter

extends StyleConverter<ParsedValue<?, Paint>[], Paint[]>
Class Inheritance
Imports
javafx.scene.paint.Color, .Paint, javafx.scene.text.Font, javafx.css.ParsedValue, .StyleConverter

Field Summary

Modifier and TypeField and Description
private static final StrokeBorderPaintConverter
STROKE_BORDER_PAINT_CONVERTER

Convert an array of border paint values to an array of Paint which contains one Paint element per border (top, right, bottom, left).

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Paint[]
convert(ParsedValue<ParsedValue<?, Paint>[], Paint[]>
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 StrokeBorderPaintConverter
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

STROKE_BORDER_PAINT_CONVERTERback to summary
private static final StrokeBorderPaintConverter STROKE_BORDER_PAINT_CONVERTER

Convert an array of border paint values to an array of Paint which contains one Paint element per border (top, right, bottom, left).

Constructor Detail

StrokeBorderPaintConverterback to summary
private StrokeBorderPaintConverter()

Method Detail

convertback to summary
public Paint[] convert(ParsedValue<ParsedValue<?, Paint>[], Paint[]> 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<?, Paint>[], Paint[]>

The ParsedValue to convert

font:Font

The Font to use when converting a relative value.

Returns:Paint[]

the converted target property type

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