Class InsetsConverter
Converter to convert a parsed value array of 1 to 4 size components to an
Insets
.
The size values are interpreted as
top, right, bottom, left.
If only top is given, that value is used on all sides.
If there is only top and right, then bottom is set to top and left is set to right.
If top, right and bottom are given, then left is set to right.- Since:
- 9
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Converter to convert an array of parsed values, each of which is an array of 1 to 4 size components, to an array ofInsets
objects.Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore
-
Method Summary
Modifier and TypeMethodDescriptionstatic StyleConverter
<ParsedValue[], Insets> Gets theInsetsConverter
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 theInsetsConverter
instance.- Returns:
- the
InsetsConverter
instance
-