public class SVGAttributeTypeStyle extends SVGAttributeType<SVGCssStyle,Void>
| Modifier and Type | Field and Description |
|---|---|
static SVGCssStyle |
DEFAULT_VALUE
Determines the default value for this
SVGAttributeType. |
| Constructor and Description |
|---|
SVGAttributeTypeStyle(SVGDocumentDataProvider dataProvider)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected javafx.util.Pair<SVGCssStyle,Void> |
getValueAndUnit(String text)
This will be called if actual data is present in the css text, this is the case if the cssText is not
SVGAttributeType.INHERIT_INDICATOR or SVGAttributeType.NONE_INDICATOR. |
getDocumentDataProvider, getIsInherited, getIsNone, getUnit, getValue, getValueAndUnit, hasUnit, setText, useDefaultValueequals, getText, hashCodepublic static final SVGCssStyle DEFAULT_VALUE
SVGAttributeType.public SVGAttributeTypeStyle(SVGDocumentDataProvider dataProvider)
dataProvider - the SVGDocumentDataProvider to use when data is needed.protected javafx.util.Pair<SVGCssStyle,Void> getValueAndUnit(String text) throws SVGException
SVGAttributeTypeSVGAttributeType.INHERIT_INDICATOR or SVGAttributeType.NONE_INDICATOR.getValueAndUnit in class SVGAttributeType<SVGCssStyle,Void>text - cssText which is not equal to SVGAttributeType.INHERIT_INDICATOR or SVGAttributeType.NONE_INDICATOR.Pair which contains the value as the key and the value as the value.SVGException - when the given text can not be resolved to a valid SVGAttributeTypeStyleCopyright © 2016 Saxonia Systems AG. All rights reserved.