public class SVGCssContentTypeLength extends SVGCssContentTypeBase<Double,SVGCssContentTypeLength.Unit>
| Modifier and Type | Class and Description |
|---|---|
static class |
SVGCssContentTypeLength.Unit
Represents the unit which might be attached to a length value
|
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_VALUE
Determines the default value for this
SVGCssContentTypeBase. |
INHERIT_INDICATOR, NONE_INDICATORdefaultValue, unit, value| Constructor and Description |
|---|
SVGCssContentTypeLength(SVGDataProvider dataProvider)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected javafx.util.Pair<Double,SVGCssContentTypeLength.Unit> |
getValueAndUnit(String cssText)
This will be called if actual data is present in the css text, this is the case if the cssText is not
SVGCssContentTypeBase.INHERIT_INDICATOR or SVGCssContentTypeBase.NONE_INDICATOR. |
equals, getDataProvider, getIsInherited, getIsNone, hashCode, parseCssTextgetDefaultValue, getUnit, getValue, setUnit, setValuepublic static final double DEFAULT_VALUE
SVGCssContentTypeBase.public SVGCssContentTypeLength(SVGDataProvider dataProvider)
dataProvider - the SVGDataProvider to use when data is needed.protected javafx.util.Pair<Double,SVGCssContentTypeLength.Unit> getValueAndUnit(String cssText)
SVGCssContentTypeBaseSVGCssContentTypeBase.INHERIT_INDICATOR or SVGCssContentTypeBase.NONE_INDICATOR.getValueAndUnit in class SVGCssContentTypeBase<Double,SVGCssContentTypeLength.Unit>cssText - cssText which is not equal to SVGCssContentTypeBase.INHERIT_INDICATOR or SVGCssContentTypeBase.NONE_INDICATOR.Pair which contains the value as the key and the value as the value.NumberFormatException - when any value inside the array is not a valid SVGCssContentTypeLengthCopyright © 2016 Saxonia Systems AG. All rights reserved.