|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.tool.util.Animator
This class performs the animation of the group button bar (to the left of the main window), using tasks and delay timers.
Animable
Nested Class Summary | |
class |
Animator.Subscriptor
This is a autility class used to perform the animation. |
class |
Animator.Temporizer
This is a autility class used to perform the animation. |
Constructor Summary | |
Animator()
Constructor. |
Method Summary | |
void |
doStep()
This method notifies a new step in the animation to all the animable objects subscribed to it. |
void |
subscribe(Animable pobj,
int pquantity,
int pmiliseconds)
This method adds a new animable object to the list of objects that will receive an animation notification. |
void |
terminate()
Forces the complete cancellation of the refresh process. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Animator()
Method Detail |
public void terminate()
public void subscribe(Animable pobj, int pquantity, int pmiliseconds)
pobj
- the object that has to be animatedpquantity
- offset in pixels between one position and the following.pmiliseconds
- duration of the animation in miliseconds. Each step
of the animation will substract a certain amount of miliseconds. When
it reaches zero, the naimation will end.public void doStep()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |