|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.depthexplorer.animation.AnimationElement
public class AnimationElement
The AnimationElement class represents a single XML element. The transform() method advances the interpolation of this element one frame forward.
Constructor Summary | |
---|---|
AnimationElement()
|
Method Summary | |
---|---|
String |
getId()
|
String |
getXmlChanges()
Retrieves the modified XML tags |
void |
load(Node xmlNode)
Loads the animation XML node. |
void |
setNode(Node n)
Links in a DOM node. |
void |
setParams(int framecount,
int fps,
String interpolateClass)
Sets up some animation variables. |
String |
toString()
|
void |
transform()
Causes the object to animate one frame forward. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnimationElement()
Method Detail |
---|
public void transform()
public String getId()
public void setNode(Node n)
n
- DOM node to link.public void setParams(int framecount, int fps, String interpolateClass)
framecount
- Number of frames in the animation.fps
- Frames per second.interpolateClass
- The class to use to interpolate the attributes.public void load(Node xmlNode)
xmlNode
- XML DOM node.public String toString()
toString
in class Object
public String getXmlChanges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |