public class LineHeightManager 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.
|
BOTH_ORIENTATION, HORIZONTAL_ORIENTATION, VERTICAL_ORIENTATION
Constructor and Description |
---|
LineHeightManager() |
Modifier and Type | Method and Description |
---|---|
Value |
computeValue(CSSStylableElement elt,
java.lang.String pseudo,
CSSEngine engine,
int idx,
StyleMap sm,
Value value)
|
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.
|
java.lang.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.
|
createFloatValue
createStringValue
createDOMException, createInvalidFloatTypeDOMException, createInvalidFloatValueDOMException, createInvalidIdentifierDOMException, createInvalidLexicalUnitDOMException, createInvalidStringTypeDOMException, createMalformedLexicalUnitDOMException, resolveURI
public boolean isInheritedProperty
public boolean isAnimatableProperty
public boolean isAdditiveProperty
public boolean isInheritedProperty()
public boolean isAnimatableProperty()
public boolean isAdditiveProperty()
public int getPropertyType()
ValueManager.getPropertyType()
.public java.lang.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 org.w3c.dom.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.org.w3c.dom.DOMException
protected int getOrientation()
getOrientation
in class LengthManager
public Value computeValue(CSSStylableElement elt, java.lang.String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
computeValue
in interface ValueManager
computeValue
in class LengthManager
elt
- The owner of the value.pseudo
- The pseudo element.engine
- The CSSEngine.idx
- The property index in the engine.sm
- The computed style map.value
- The value to compute.Copyright ? 2015 Apache Software Foundation. All Rights Reserved.