public final class FontConverter extends StyleConverterImpl<ParsedValue[],Font>
Modifier and Type | Class and Description |
---|---|
static class |
FontConverter.FontSizeConverter |
static class |
FontConverter.FontStyleConverter |
static class |
FontConverter.FontWeightConverter |
private static class |
FontConverter.Holder |
Modifier | Constructor and Description |
---|---|
private |
FontConverter() |
Modifier and Type | Method and Description |
---|---|
Font |
convert(java.util.Map<CssMetaData<? extends Styleable,?>,java.lang.Object> convertedValues)
Convert from the constituent values to the target property type.
|
Font |
convert(ParsedValue<ParsedValue[],Font> value,
Font font)
Convert from the parsed CSS value to the target property type.
|
static StyleConverter<ParsedValue[],Font> |
getInstance() |
java.lang.String |
toString() |
cacheValue, getCachedValue, readBinary, writeBinary
getBooleanConverter, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter
public static StyleConverter<ParsedValue[],Font> getInstance()
public Font convert(ParsedValue<ParsedValue[],Font> value, Font font)
StyleConverter
convert
in class StyleConverter<ParsedValue[],Font>
value
- The ParsedValue
to convertfont
- The Font
to use when converting a
relative
value.public Font convert(java.util.Map<CssMetaData<? extends Styleable,?>,java.lang.Object> convertedValues)
StyleConverterImpl
convert
in class StyleConverterImpl<ParsedValue[],Font>
public java.lang.String toString()
toString
in class java.lang.Object