public final class LayeredBorderStyleConverter extends StyleConverterImpl<ParsedValue<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]>[],BorderStrokeStyle[][]>
| Modifier and Type | Field and Description |
|---|---|
private static LayeredBorderStyleConverter |
LAYERED_BORDER_STYLE_CONVERTER
Convert layers of border style values to an array of BorderStyle[], where
each layer contains one BorderStyle element per border.
|
| Modifier | Constructor and Description |
|---|---|
private |
LayeredBorderStyleConverter() |
| Modifier and Type | Method and Description |
|---|---|
BorderStrokeStyle[][] |
convert(ParsedValue<ParsedValue<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]>[],BorderStrokeStyle[][]> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static LayeredBorderStyleConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinarygetBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverterprivate static final LayeredBorderStyleConverter LAYERED_BORDER_STYLE_CONVERTER
public static LayeredBorderStyleConverter getInstance()
public BorderStrokeStyle[][] convert(ParsedValue<ParsedValue<ParsedValue<ParsedValue[],BorderStrokeStyle>[],BorderStrokeStyle[]>[],BorderStrokeStyle[][]> value, Font font)
StyleConverterconvert in class StyleConverter<ParsedValue<ParsedValue<ParsedValue[],BorderStrokeStyle>[],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