Package com.reportmill.graphics
Class RMAnimAgent
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.graphics.RMAnimAgent
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 - Direct Known Subclasses:
- RMAgentFadeIn,- RMAgentGravity,- RMAgentTypewriter
 
 public class RMAnimAgent extends RMObject This class is the base class used for creating sophisticated animation effects, like gravity.
- 
- 
Constructor SummaryConstructors Constructor Description RMAnimAgent()Creates a new unitialized anim agent.RMAnimAgent(RMShape aShape)Creates an anim agent for the given shape.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()This method is called to perform initializations before update(time) is called.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.java.lang.StringgetTitle()Returns the string used to describe this anim agent to the user.voidsetShape(RMShape aShape)Sets the shape for this agent to the given shape.RXElementtoXML(RXArchiver anArchiver)XML archival.voidupdate(float aTime)This method is used to perform actual modifications to the specified shape.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Field Detail- 
_shapepublic RMShape _shape 
 - 
_delaypublic float _delay 
 - 
_durationpublic float _duration 
 
- 
 - 
Constructor Detail- 
RMAnimAgentpublic RMAnimAgent() Creates a new unitialized anim agent.
 - 
RMAnimAgentpublic RMAnimAgent(RMShape aShape) Creates an anim agent for the given shape.
 
- 
 - 
Method Detail- 
setShapepublic void setShape(RMShape aShape) Sets the shape for this agent to the given shape.
 - 
activatepublic void activate() This method is called to perform initializations before update(time) is called.
 - 
updatepublic void update(float aTime) This method is used to perform actual modifications to the specified shape.
 - 
getTitlepublic java.lang.String getTitle() Returns the string used to describe this anim agent to the user.
 - 
toXMLpublic RXElement toXML(RXArchiver anArchiver) XML archival.
 - 
fromXMLpublic java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.
 
- 
 
-