Package com.reportmill.graphics
Class RMAgentTypewriter
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.graphics.RMAnimAgent
com.reportmill.graphics.RMAgentTypewriter
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This class provides an anim agent to insert text letters sequentially with typewriter sound effect.
-
Field Summary
Fields inherited from class com.reportmill.graphics.RMAnimAgent
_delay, _duration, _shape
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an unitialized gravity typewriter.RMAgentTypewriter
(RMShape aShape) Creates a typewriter agent for the given shape. -
Method Summary
Methods inherited from class com.reportmill.graphics.RMAnimAgent
fromXML, setShape
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
RMAgentTypewriter
public RMAgentTypewriter()Creates an unitialized gravity typewriter. -
RMAgentTypewriter
Creates a typewriter agent for the given shape.
-
-
Method Details
-
activate
public void activate()Activates the agent.- Overrides:
activate
in classRMAnimAgent
-
update
public void update(float aTime) Performs actual time based modifications.- Overrides:
update
in classRMAnimAgent
-
getTitle
Returns the string used to describe this anim agent to the user.- Overrides:
getTitle
in classRMAnimAgent
-
toXML
XML archival.- Overrides:
toXML
in classRMAnimAgent
-