|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.batik.anim.values.AnimatableValue
org.apache.batik.anim.values.AnimatableNumberValue
org.apache.batik.anim.values.AnimatableNumberOrIdentValue
A number-or-identifier value in the animation system.
| Field Summary | |
protected String |
ident
The identifier. |
protected boolean |
isIdent
Whether this value is an identifier. |
protected boolean |
numericIdent
Whether numbers should be considered as numeric keywords, as with the font-weight property. |
| Fields inherited from class org.apache.batik.anim.values.AnimatableNumberValue |
value |
| Fields inherited from class org.apache.batik.anim.values.AnimatableValue |
decimalFormat, hasChanged, target |
| Constructor Summary | |
protected |
AnimatableNumberOrIdentValue(AnimationTarget target)
Creates a new, uninitialized AnimatableNumberOrIdentValue. |
|
AnimatableNumberOrIdentValue(AnimationTarget target,
float v,
boolean numericIdent)
Creates a new AnimatableNumberOrIdentValue for a Number value. |
|
AnimatableNumberOrIdentValue(AnimationTarget target,
String ident)
Creates a new AnimatableNumberOrIdentValue for an identifier value. |
| Method Summary | |
boolean |
canPace()
Returns whether two values of this type can have their distance computed, as needed by paced animation. |
float |
distanceTo(AnimatableValue other)
Returns the absolute distance between this value and the specified other value. |
String |
getCssText()
Returns the CSS text representation of the value. |
AnimatableValue |
getZeroValue()
Returns a zero value of this AnimatableValue's type. |
AnimatableValue |
interpolate(AnimatableValue result,
AnimatableValue to,
float interpolation,
AnimatableValue accumulation,
int multiplier)
Performs interpolation to the given value. |
| Methods inherited from class org.apache.batik.anim.values.AnimatableNumberValue |
getValue |
| Methods inherited from class org.apache.batik.anim.values.AnimatableValue |
formatNumber, hasChanged, toString, toStringRep |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean isIdent
protected String ident
protected boolean numericIdent
| Constructor Detail |
protected AnimatableNumberOrIdentValue(AnimationTarget target)
public AnimatableNumberOrIdentValue(AnimationTarget target,
float v,
boolean numericIdent)
public AnimatableNumberOrIdentValue(AnimationTarget target,
String ident)
| Method Detail |
public boolean canPace()
canPace in class AnimatableNumberValuepublic float distanceTo(AnimatableValue other)
distanceTo in class AnimatableNumberValuepublic AnimatableValue getZeroValue()
getZeroValue in class AnimatableNumberValuepublic String getCssText()
getCssText in class AnimatableNumberValue
public AnimatableValue interpolate(AnimatableValue result,
AnimatableValue to,
float interpolation,
AnimatableValue accumulation,
int multiplier)
interpolate in class AnimatableNumberValue
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||