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 voidcheckSpriteRunningStatus(RMFlash flash)voiddefineFlash(RMFlash flash)Overrides flash shape implementation to do fancy stuff.voiddefineFlashChildren(RMFlash flash)voiddefineSpriteFrames(RMFlash flash)static booleanhasChange(RMAnimator anAnimator, RMShape aShape)voidplay(RMFlash flash)voidremoveFlashChildren(RMFlash flash)static booleanshouldBeSprite(RMShape aShape)Whether a given shape should be a sprite shape.voidstop(RMFlash flash)voidupdateFlash(RMFlash flash)voidupdateFlashChildren(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:
defineFlashin classRMFlashShape
-
defineSpriteFrames
public void defineSpriteFrames(RMFlash flash)
-
updateFlash
public void updateFlash(RMFlash flash)
- Overrides:
updateFlashin 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:
defineFlashChildrenin classRMFlashShape
-
updateFlashChildren
public void updateFlashChildren(RMFlash flash)
- Overrides:
updateFlashChildrenin classRMFlashShape
-
removeFlashChildren
public void removeFlashChildren(RMFlash flash)
- Overrides:
removeFlashChildrenin classRMFlashShape
-
-