Module io.sf.carte.echosvg.css
Class SpacingManager
java.lang.Object
io.sf.carte.echosvg.css.engine.value.AbstractValueFactory
io.sf.carte.echosvg.css.engine.value.AbstractValueManager
io.sf.carte.echosvg.css.engine.value.LengthManager
io.sf.carte.echosvg.css.engine.value.svg.SpacingManager
- All Implemented Interfaces:
ValueManager
This class provides a manager for the '*-spacing' property values.
Original author: Stephane Hillion. For later modifications, see Git history.
-
Field Summary
FieldsFields inherited from class io.sf.carte.echosvg.css.engine.value.LengthManager
BOTH_ORIENTATION, DEFAULT_LINE_HEIGHT, HORIZONTAL_ORIENTATION, VERTICAL_ORIENTATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateValue(LexicalUnit lu, CSSEngine engine) ImplementsValueManager.createValue(LexicalUnit,CSSEngine).ImplementsValueManager.getDefaultValue().protected intIndicates the orientation of the property associated with this manager.ImplementsValueManager.getPropertyName().intImplementsValueManager.getPropertyType().booleanImplementsValueManager.isAdditiveProperty().booleanImplementsValueManager.isAnimatableProperty().booleanImplementsValueManager.isInheritedProperty().Methods inherited from class io.sf.carte.echosvg.css.engine.value.LengthManager
computeValue, lineHeightValueMethods inherited from class io.sf.carte.echosvg.css.engine.value.AbstractValueManager
createCalc, createDOMException, createLexicalValue, createMathFunction, createURIValue, evaluateMath, lengthValueMethods inherited from class io.sf.carte.echosvg.css.engine.value.AbstractValueFactory
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
-
Field Details
-
property
The handled property.
-
-
Constructor Details
-
SpacingManager
Creates a new SpacingManager.
-
-
Method Details
-
isInheritedProperty
public boolean isInheritedProperty()ImplementsValueManager.isInheritedProperty(). -
isAnimatableProperty
public boolean isAnimatableProperty()ImplementsValueManager.isAnimatableProperty(). -
isAdditiveProperty
public boolean isAdditiveProperty()ImplementsValueManager.isAdditiveProperty(). -
getPropertyType
public int getPropertyType()ImplementsValueManager.getPropertyType(). -
getPropertyName
ImplementsValueManager.getPropertyName().- Specified by:
getPropertyNamein interfaceValueManager- Specified by:
getPropertyNamein classAbstractValueFactory
-
getDefaultValue
ImplementsValueManager.getDefaultValue(). -
createValue
ImplementsValueManager.createValue(LexicalUnit,CSSEngine).- Specified by:
createValuein interfaceValueManager- Overrides:
createValuein classLengthManager- Parameters:
lu- The SAC lexical unit used to create the value.engine- The calling CSSEngine.- Throws:
DOMException
-
getOrientation
protected int getOrientation()Indicates the orientation of the property associated with this manager.- Specified by:
getOrientationin classLengthManager
-