Package com.reportmill.graphics
Class RMAgentFadeIn
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.graphics.RMAnimAgent
com.reportmill.graphics.RMAgentFadeIn
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class provides an anim agent to fade and scale a shape in over time.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatFields inherited from class com.reportmill.graphics.RMAnimAgent_delay, _duration, _shape
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an unitialized fade-in agent.RMAgentFadeIn(RMShape aShape) Creates a fade-in agent for the given shape.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivate()Activates the agent, which converts target text shapes to chars and extends shapes animator max time if needed.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.getTitle()Returns the string used to describe this anim agent to the user.toXML(RXArchiver anArchiver) XML archival.voidupdate(float aTime) Performs actual time based modifications.Methods inherited from class com.reportmill.graphics.RMAnimAgentsetShapeMethods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Field Details- 
_initialScalepublic float _initialScale
- 
_finalScalepublic float _finalScale
- 
_initialOpacitypublic float _initialOpacity
- 
_finalOpacitypublic float _finalOpacity
 
- 
- 
Constructor Details- 
RMAgentFadeInpublic RMAgentFadeIn()Creates an unitialized fade-in agent.
- 
RMAgentFadeInCreates a fade-in agent for the given shape.
 
- 
- 
Method Details- 
activatepublic void activate()Activates the agent, which converts target text shapes to chars and extends shapes animator max time if needed.- Overrides:
- activatein class- RMAnimAgent
 
- 
updatepublic void update(float aTime) Performs actual time based modifications.- Overrides:
- updatein class- RMAnimAgent
 
- 
getTitleReturns the string used to describe this anim agent to the user.- Overrides:
- getTitlein class- RMAnimAgent
 
- 
toXMLXML archival.- Overrides:
- toXMLin class- RMAnimAgent
 
- 
fromXMLXML unarchival.- Overrides:
- fromXMLin class- RMAnimAgent
 
 
-