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 Summary
FieldsModifier and TypeFieldDescriptionfloat
float
float
float
Fields inherited from class com.reportmill.graphics.RMAnimAgent
_delay, _duration, _shape
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an unitialized fade-in agent.RMAgentFadeIn
(RMShape aShape) Creates a fade-in agent for the given shape. -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
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.void
update
(float aTime) Performs actual time based modifications.Methods inherited from class com.reportmill.graphics.RMAnimAgent
setShape
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Field Details
-
_initialScale
public float _initialScale -
_finalScale
public float _finalScale -
_initialOpacity
public float _initialOpacity -
_finalOpacity
public float _finalOpacity
-
-
Constructor Details
-
RMAgentFadeIn
public RMAgentFadeIn()Creates an unitialized fade-in agent. -
RMAgentFadeIn
Creates a fade-in agent for the given shape.
-
-
Method Details
-
activate
public void activate()Activates the agent, which converts target text shapes to chars and extends shapes animator max time if needed.- 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
-
fromXML
XML unarchival.- Overrides:
fromXML
in classRMAnimAgent
-