- 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 aFontto aFont.- Since:
- 9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFontConverter.FontSizeConverterConverter to convert a parsed font size value to aNumberobject.static classFontConverter.FontStyleConverterConverter to convert aStringvalue to aFontPostureobject.static classFontConverter.FontWeightConverterConverter to convert aStringvalue to aFontWeightobject.-
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 theFontConverterinstance.-
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 theFontConverterinstance.- Returns:
- the
FontConverterinstance
-
-