public static final class FontConverter.FontWeightConverter extends StyleConverterImpl<java.lang.String,FontWeight>
| Modifier and Type | Class and Description |
|---|---|
private static class |
FontConverter.FontWeightConverter.Holder |
| Modifier | Constructor and Description |
|---|---|
private |
FontWeightConverter() |
| Modifier and Type | Method and Description |
|---|---|
FontWeight |
convert(ParsedValue<java.lang.String,FontWeight> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static FontConverter.FontWeightConverter |
getInstance() |
java.lang.String |
toString() |
cacheValue, convert, getCachedValue, readBinary, writeBinarygetBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverterpublic static FontConverter.FontWeightConverter getInstance()
public FontWeight convert(ParsedValue<java.lang.String,FontWeight> value, Font font)
StyleConverterconvert in class StyleConverter<java.lang.String,FontWeight>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