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
Nested ClassesModifier and TypeClassDescriptionstatic final classConverter to convert an array of parsed values, each of which is an array of 1 to 4 size components, to an array ofInsetsobjects.Nested classes/interfaces declared in class javafx.css.StyleConverter
StyleConverter.StringStore -
Method Summary
Modifier and TypeMethodDescriptionstatic StyleConverter<ParsedValue[], Insets> Gets theInsetsConverterinstance.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 theInsetsConverterinstance.- Returns:
- the
InsetsConverterinstance
-