public final class FontConverter extends StyleConverter<ParsedValue[],Font>
Converter to convert a parsed representation of a
Font
to a Font
.- 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
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 Details
-
getInstance
Gets theFontConverter
instance.- Returns:
- the
FontConverter
instance
-