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,java.lang.Cloneable
public class RMAgentFadeIn extends RMAnimAgent
This class provides an anim agent to fade and scale a shape in over time.
-
-
Field Summary
Fields Modifier and Type Field Description float_finalOpacityfloat_finalScalefloat_initialOpacityfloat_initialScale-
Fields inherited from class com.reportmill.graphics.RMAnimAgent
_delay, _duration, _shape
-
-
Constructor Summary
Constructors Constructor Description RMAgentFadeIn()Creates an unitialized fade-in agent.RMAgentFadeIn(RMShape aShape)Creates a fade-in agent for the given shape.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()Activates the agent, which converts target text shapes to chars and extends shapes animator max time if needed.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.java.lang.StringgetTitle()Returns the string used to describe this anim agent to the user.RXElementtoXML(RXArchiver anArchiver)XML archival.voidupdate(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
-
-
-
-
Constructor Detail
-
RMAgentFadeIn
public RMAgentFadeIn()
Creates an unitialized fade-in agent.
-
RMAgentFadeIn
public RMAgentFadeIn(RMShape aShape)
Creates a fade-in agent for the given shape.
-
-
Method Detail
-
activate
public void activate()
Activates the agent, which converts target text shapes to chars and extends shapes animator max time if needed.- Overrides:
activatein classRMAnimAgent
-
update
public void update(float aTime)
Performs actual time based modifications.- Overrides:
updatein classRMAnimAgent
-
getTitle
public java.lang.String getTitle()
Returns the string used to describe this anim agent to the user.- Overrides:
getTitlein classRMAnimAgent
-
toXML
public RXElement toXML(RXArchiver anArchiver)
XML archival.- Overrides:
toXMLin classRMAnimAgent
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.- Overrides:
fromXMLin classRMAnimAgent
-
-