|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.eltima.chart.Animation
The Animation class.
Copyright: Copyright (c) 2000-2005
Company: Eltima Software
| Constructor Summary | |
Animation(ELChart chart)
Creates new instance of Animation with the specified chart. |
|
| Method Summary | |
float |
getAlpha(java.lang.String key)
Returns alpha for specified key depends of animation step or 1f if animation is not running. |
AnimationModel |
getAnimationModel()
Returns AnimationModel. |
int |
getStep()
Returns current animation step. |
boolean |
isPainted(java.lang.String key)
Returns true if animation is not running or current step equals or greatest then start step. |
void |
saveTransform(java.awt.Graphics2D g2)
Save current AffineTransform. |
void |
setAnimationModel(AnimationModel model)
Sets AnimationModel. |
void |
setStep(int step)
Sets the animation step. |
void |
setTransform(java.lang.String key,
java.awt.Graphics2D g2,
java.awt.Rectangle rOwner,
java.awt.Rectangle rObject)
Sets AffineTransform for specified rectangle "rObject" depends of key, animation step and owner rectangle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Animation(ELChart chart)
chart - ELChart| Method Detail |
public boolean isPainted(java.lang.String key)
key - String
public float getAlpha(java.lang.String key)
key - String
public void saveTransform(java.awt.Graphics2D g2)
g2 - Graphics2D
public void setTransform(java.lang.String key,
java.awt.Graphics2D g2,
java.awt.Rectangle rOwner,
java.awt.Rectangle rObject)
key - Stringg2 - Graphics2DrOwner - RectanglerObject - Rectanglepublic int getStep()
public void setStep(int step)
step - intpublic AnimationModel getAnimationModel()
public void setAnimationModel(AnimationModel model)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||