|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for targets of animation to provide context information.
| Field Summary | |
static short |
PERCENTAGE_FONT_SIZE
|
static short |
PERCENTAGE_VIEWPORT_HEIGHT
|
static short |
PERCENTAGE_VIEWPORT_SIZE
|
static short |
PERCENTAGE_VIEWPORT_WIDTH
|
| Method Summary | |
void |
addTargetListener(String ns,
String an,
boolean isCSS,
AnimationTargetListener l)
Adds a listener for changes to the given attribute value. |
Element |
getElement()
Returns the element. |
short |
getPercentageInterpretation(String ns,
String an,
boolean isCSS)
Gets how percentage values are interpreted by the given attribute or property. |
AnimatableValue |
getUnderlyingValue(String ns,
String ln)
Returns the underlying value of an animatable XML attribute. |
void |
removeTargetListener(String ns,
String an,
boolean isCSS,
AnimationTargetListener l)
Removes a listener for changes to the given attribute value. |
float |
svgToUserSpace(float v,
short type,
short pcInterp)
Converts the given SVG length into user units. |
void |
updateAttributeValue(String ns,
String ln,
AnimatableValue val)
Updates an attribute value in this target. |
void |
updateOtherValue(String type,
AnimatableValue val)
Updates a 'other' animation value in this target. |
void |
updatePropertyValue(String pn,
AnimatableValue val)
Updates a property value in this target. |
boolean |
useLinearRGBColorInterpolation()
Returns whether color interpolations should be done in linear RGB color space rather than sRGB. |
| Field Detail |
public static final short PERCENTAGE_FONT_SIZE
public static final short PERCENTAGE_VIEWPORT_WIDTH
public static final short PERCENTAGE_VIEWPORT_HEIGHT
public static final short PERCENTAGE_VIEWPORT_SIZE
| Method Detail |
public Element getElement()
public void updatePropertyValue(String pn,
AnimatableValue val)
public void updateAttributeValue(String ns,
String ln,
AnimatableValue val)
public void updateOtherValue(String type,
AnimatableValue val)
public AnimatableValue getUnderlyingValue(String ns,
String ln)
public short getPercentageInterpretation(String ns,
String an,
boolean isCSS)
public boolean useLinearRGBColorInterpolation()
public float svgToUserSpace(float v,
short type,
short pcInterp)
v - the SVG length valuetype - the SVG length units (one of the
SVGLength.SVG_LENGTH_* constants)pcInterp - how to interpretet percentage values (one of the
AnimationTarget.PERCENTAGE_* constants)
public void addTargetListener(String ns,
String an,
boolean isCSS,
AnimationTargetListener l)
public void removeTargetListener(String ns,
String an,
boolean isCSS,
AnimationTargetListener l)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||