Class SizeConverter
public final class SizeConverter extends StyleConverter<ParsedValue<?,Size>,Number>
Converter to convert a
Size to a Number.- Since:
- 9
Nested Class Summary
| Modifier and Type | Class | Description |
|---|---|---|
static final class |
SizeConverter.SequenceConverter |
Converter to convert a sequence of sizes to an array of Number. |
Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
static StyleConverter |
getInstance() |
Gets the SizeConverter 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<?,Size>,Number> getInstance()
Gets the
SizeConverter instance.- Returns:
- the
SizeConverterinstance
© 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.