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

public final Class BorderStrokeStyleSequenceConverter

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

User: richardbair Date: 8/10/12 Time: 7:31 AM

Field Summary

Modifier and TypeField and Description
private static final BorderStrokeStyleSequenceConverter
BORDER_STYLE_SEQUENCE_CONVERTER

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public BorderStrokeStyle[]
convert(ParsedValue<ParsedValue<ParsedValue<V, T>[], BorderStrokeStyle>[], BorderStrokeStyle[]>
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 BorderStrokeStyleSequenceConverter
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from javafx.css.StyleConverter:
cacheValueclearCacheconvertgetBooleanConvertergetCachedValuegetColorConvertergetDurationConvertergetEffectConvertergetEnumConvertergetFontConvertergetInsetsConvertergetPaintConvertergetSizeConvertergetStringConvertergetUrlConverterreadBinarywriteBinary

Field Detail

BORDER_STYLE_SEQUENCE_CONVERTERback to summary
private static final BorderStrokeStyleSequenceConverter BORDER_STYLE_SEQUENCE_CONVERTER

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

Constructor Detail

BorderStrokeStyleSequenceConverterback to summary
private BorderStrokeStyleSequenceConverter()

Method Detail

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

The ParsedValue to convert

font:Font

The Font to use when converting a relative value.

Returns:BorderStrokeStyle[]

the converted target property type

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