|
|||||||||
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 value for the specified key. |
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 greater than starting 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 on key, animation step and rectangle owner. |
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
- ELChartMethod 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
- Graphics2Dpublic 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 |