Class MarginShorthandManager
java.lang.Object
org.apache.batik.css.engine.value.AbstractValueFactory
org.apache.batik.css.engine.value.svg12.MarginShorthandManager
- All Implemented Interfaces:
ShorthandManager
This class represents an object which provide support for the
'margin' shorthand property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.batik.css.engine.value.ShorthandManager
ShorthandManager.PropertyHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImplementsValueManager.getPropertyName()
.boolean
ImplementsShorthandManager.isAdditiveProperty()
.boolean
ImplementsShorthandManager.isAnimatableProperty()
.void
setValues
(CSSEngine eng, ShorthandManager.PropertyHandler ph, org.w3c.css.sac.LexicalUnit lu, boolean imp) Methods inherited from class org.apache.batik.css.engine.value.AbstractValueFactory
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
-
Constructor Details
-
MarginShorthandManager
public MarginShorthandManager()
-
-
Method Details
-
getPropertyName
ImplementsValueManager.getPropertyName()
.- Specified by:
getPropertyName
in interfaceShorthandManager
- Specified by:
getPropertyName
in classAbstractValueFactory
-
isAnimatableProperty
public boolean isAnimatableProperty()ImplementsShorthandManager.isAnimatableProperty()
.- Specified by:
isAnimatableProperty
in interfaceShorthandManager
-
isAdditiveProperty
public boolean isAdditiveProperty()ImplementsShorthandManager.isAdditiveProperty()
.- Specified by:
isAdditiveProperty
in interfaceShorthandManager
-
setValues
public void setValues(CSSEngine eng, ShorthandManager.PropertyHandler ph, org.w3c.css.sac.LexicalUnit lu, boolean imp) throws DOMException ImplementsShorthandManager.setValues(CSSEngine,ShorthandManager.PropertyHandler,LexicalUnit,boolean)
.- Specified by:
setValues
in interfaceShorthandManager
- Parameters:
eng
- The current CSSEngine.ph
- The property handler to use.lu
- The SAC lexical unit used to create the value.imp
- The property priority.- Throws:
DOMException
-