Package com.reportmill.flash
Class RMFlashSpriteShape
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.flash.RMFlashShape
com.reportmill.flash.RMFlashSpriteShape
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
- Direct Known Subclasses:
RMFlashSwitchShape
A flash shape for shapes with their own animator/timeline (like Switch shapes).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkSpriteRunningStatus
(RMFlash flash) void
defineFlash
(RMFlash flash) Overrides flash shape implementation to do fancy stuff.void
defineFlashChildren
(RMFlash flash) void
defineSpriteFrames
(RMFlash flash) static boolean
hasChange
(RMAnimator anAnimator, RMShape aShape) void
void
removeFlashChildren
(RMFlash flash) static boolean
shouldBeSprite
(RMShape aShape) Whether a given shape should be a sprite shape.void
void
updateFlash
(RMFlash flash) void
updateFlashChildren
(RMFlash flash) Methods inherited from class com.reportmill.flash.RMFlashShape
defineFlashFill, getActionScript, getChild, getChildCount, getColor, getColorNext, getColorZero, getDrawsFill, getDrawsStroke, getFill, getMorphRatio, getNextOpacity, getNextTransform, getShape, getStroke, needsTransformUpdate, newFlashShape, newFlashShapePrimitive, removeFlash, setShapeId
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
Constructor Details
-
RMFlashSpriteShape
Creates a new flash sprite shape.
-
-
Method Details
-
shouldBeSprite
Whether a given shape should be a sprite shape. -
defineFlash
Overrides flash shape implementation to do fancy stuff.- Overrides:
defineFlash
in classRMFlashShape
-
defineSpriteFrames
-
updateFlash
- Overrides:
updateFlash
in classRMFlashShape
-
checkSpriteRunningStatus
-
play
-
stop
-
hasChange
-
defineFlashChildren
- Overrides:
defineFlashChildren
in classRMFlashShape
-
updateFlashChildren
- Overrides:
updateFlashChildren
in classRMFlashShape
-
removeFlashChildren
- Overrides:
removeFlashChildren
in classRMFlashShape
-