protected class SVGAnimationEngine.AnimatablePreserveAspectRatioValueFactory extends Object implements SVGAnimationEngine.Factory
AnimatablePreserveAspectRatioValue
s.Modifier and Type | Field and Description |
---|---|
protected short |
align
The parsed 'align' value.
|
protected DefaultPreserveAspectRatioHandler |
handler
Handler for the preserveAspectRatio parser.
|
protected short |
meetOrSlice
The parsed 'meetOrSlice' value.
|
protected PreserveAspectRatioParser |
parser
Parser for preserveAspectRatio values.
|
Constructor and Description |
---|
SVGAnimationEngine.AnimatablePreserveAspectRatioValueFactory()
Creates a new AnimatablePreserveAspectRatioValueFactory.
|
Modifier and Type | Method and Description |
---|---|
AnimatableValue |
createValue(AnimationTarget target,
String ns,
String ln,
boolean isCSS,
String s)
Creates a new AnimatableValue from a string.
|
AnimatableValue |
createValue(AnimationTarget target,
String pn,
Value v)
Creates a new AnimatableValue from a CSS
Value . |
protected short align
protected short meetOrSlice
protected PreserveAspectRatioParser parser
protected DefaultPreserveAspectRatioHandler handler
public SVGAnimationEngine.AnimatablePreserveAspectRatioValueFactory()
public AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s)
createValue
in interface SVGAnimationEngine.Factory
public AnimatableValue createValue(AnimationTarget target, String pn, Value v)
Value
. Returns null
since preserveAspectRatio values aren't used in CSS values.createValue
in interface SVGAnimationEngine.Factory
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.