public class MarginLengthManager extends LengthManager
Type | Property and Description |
---|---|
boolean |
isAdditive
Gets the value of the property additiveProperty.
|
boolean |
isAnimatable
Gets the value of the property animatableProperty.
|
boolean |
isInherited
Gets the value of the property inheritedProperty.
|
Modifier and Type | Field and Description |
---|---|
protected String |
prop |
BOTH_ORIENTATION, HORIZONTAL_ORIENTATION, VERTICAL_ORIENTATION
Constructor and Description |
---|
MarginLengthManager(String prop) |
Modifier and Type | Method and Description |
---|---|
Value |
createValue(LexicalUnit lu,
CSSEngine engine)
Implements
ValueManager.createValue(LexicalUnit,CSSEngine) . |
Value |
getDefaultValue()
Implements
ValueManager.getDefaultValue() . |
protected int |
getOrientation()
Indicates the orientation of the property associated with
this manager.
|
String |
getPropertyName()
Implements
ValueManager.getPropertyName() . |
int |
getPropertyType()
Implements
ValueManager.getPropertyType() . |
boolean |
isAdditiveProperty()
Gets the value of the property additiveProperty.
|
boolean |
isAnimatableProperty()
Gets the value of the property animatableProperty.
|
boolean |
isInheritedProperty()
Gets the value of the property inheritedProperty.
|
computeValue, createFloatValue
createStringValue
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
public boolean isInheritedProperty
public boolean isAnimatableProperty
public boolean isAdditiveProperty
protected String prop
public MarginLengthManager(String prop)
public boolean isInheritedProperty()
public boolean isAnimatableProperty()
public boolean isAdditiveProperty()
public int getPropertyType()
ValueManager.getPropertyType()
.public String getPropertyName()
ValueManager.getPropertyName()
.getPropertyName
in interface ValueManager
getPropertyName
in class AbstractValueFactory
public Value getDefaultValue()
ValueManager.getDefaultValue()
.public Value createValue(LexicalUnit lu, CSSEngine engine) throws DOMException
ValueManager.createValue(LexicalUnit,CSSEngine)
.createValue
in interface ValueManager
createValue
in class LengthManager
lu
- The SAC lexical unit used to create the value.engine
- The calling CSSEngine.DOMException
protected int getOrientation()
getOrientation
in class LengthManager
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.