- java.lang.Object
-
- javafx.css.StyleConverter<ParsedValue[],Font>
-
- javafx.css.converter.FontConverter
-
public final class FontConverter extends StyleConverter<ParsedValue[],Font>
Converter to convert a parsed representation of aFont
to aFont
.- Since:
- 9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FontConverter.FontSizeConverter
Converter to convert a parsed font size value to aNumber
object.static class
FontConverter.FontStyleConverter
Converter to convert aString
value to aFontPosture
object.static class
FontConverter.FontWeightConverter
Converter to convert aString
value to aFontWeight
object.-
Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StyleConverter<ParsedValue[],Font>
getInstance()
Gets theFontConverter
instance.-
Methods declared in class javafx.css.StyleConverter
cacheValue, clearCache, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary
-
-
-
-
Method Detail
-
getInstance
public static StyleConverter<ParsedValue[],Font> getInstance()
Gets theFontConverter
instance.- Returns:
- the
FontConverter
instance
-
-