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