Package ilcd
Class Graphic
Public Method startOrRestartAnimation
static void startOrRestartAnimation(int animLoc)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter |
Range |
Description |
animLoc |
0 ... 7 |
index of the animation control |
Starts or restarts (if previously stopped) the animated graphic loaded to the animation control referred by animLoc.
Note
- If the animated graphic does not run endlessly (that means the number of repetitions are greater than 0), the internal repetition counter is reset before the animation is (re)started.
- If the animation control animLoc is already running, this command has no effect.
- By default, all animations are not running. Hence all animations are stopped on startup and by the commands General.resetAll() or General.rebootPanelController(). The loaded animation controls (refer to Graphic.loadAnimatedGraphics(int, int)) as well as set backgrounds (refer to Graphic.setAnimationBackgroundColor(int, int), Graphic.setAnimationBackgroundFrame(int, int), Graphic.setAnimationBackgroundGraphic(int, int, int, int) or Graphic.setAnimationBackgroundScreen(int, int, int, int)) are not deleted by this command.
- Find general information about animated graphics in class Graphic.
Graphic.startOrRestartAnimation(4);
Starts the animation loaded into animation control 4.
See also:
Copyright © demmel products gmbh. All rights reserved.