public final class BorderStrokeStyleSequenceConverter extends StyleConverterImpl<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]>
Modifier and Type | Field and Description |
---|---|
private static 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).
|
Modifier | Constructor and Description |
---|---|
private |
BorderStrokeStyleSequenceConverter() |
Modifier and Type | Method and Description |
---|---|
BorderStrokeStyle[] |
convert(ParsedValue<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static BorderStrokeStyleSequenceConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
private static final BorderStrokeStyleSequenceConverter BORDER_STYLE_SEQUENCE_CONVERTER
public static BorderStrokeStyleSequenceConverter getInstance()
public BorderStrokeStyle[] convert(ParsedValue<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.public java.lang.String toString()
toString
in class java.lang.Object