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
,java.lang.Cloneable
- Direct Known Subclasses:
RMFlashSwitchShape
public class RMFlashSpriteShape extends RMFlashShape
A flash shape for shapes with their own animator/timeline (like Switch shapes).
-
-
Constructor Summary
Constructors Constructor Description RMFlashSpriteShape(RMShape aShape)
Creates a new flash sprite shape.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
play(RMFlash flash)
void
removeFlashChildren(RMFlash flash)
static boolean
shouldBeSprite(RMShape aShape)
Whether a given shape should be a sprite shape.void
stop(RMFlash flash)
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 Detail
-
RMFlashSpriteShape
public RMFlashSpriteShape(RMShape aShape)
Creates a new flash sprite shape.
-
-
Method Detail
-
shouldBeSprite
public static boolean shouldBeSprite(RMShape aShape)
Whether a given shape should be a sprite shape.
-
defineFlash
public void defineFlash(RMFlash flash)
Overrides flash shape implementation to do fancy stuff.- Overrides:
defineFlash
in classRMFlashShape
-
defineSpriteFrames
public void defineSpriteFrames(RMFlash flash)
-
updateFlash
public void updateFlash(RMFlash flash)
- Overrides:
updateFlash
in classRMFlashShape
-
checkSpriteRunningStatus
public void checkSpriteRunningStatus(RMFlash flash)
-
play
public void play(RMFlash flash)
-
stop
public void stop(RMFlash flash)
-
hasChange
public static boolean hasChange(RMAnimator anAnimator, RMShape aShape)
-
defineFlashChildren
public void defineFlashChildren(RMFlash flash)
- Overrides:
defineFlashChildren
in classRMFlashShape
-
updateFlashChildren
public void updateFlashChildren(RMFlash flash)
- Overrides:
updateFlashChildren
in classRMFlashShape
-
removeFlashChildren
public void removeFlashChildren(RMFlash flash)
- Overrides:
removeFlashChildren
in classRMFlashShape
-
-