Class FontConverter
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
| Modifier and Type | Class | Description |
|---|---|---|
static class | FontConverter.FontSizeConverter | Converter to convert a parsed font size value to a Number object. |
static class | FontConverter.FontStyleConverter | Converter to convert a String value to a FontPosture object. |
static class | FontConverter.FontWeightConverter | Converter to convert a String value to a FontWeight 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 the FontConverter 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
public static StyleConverter<ParsedValue[],Font> getInstance()
Gets the
FontConverter instance.- Returns:
- the
FontConverterinstance
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.