public interface IlvObjectAnimator
IlvObjectAnimator must be implemented by
a class whose purpose is to animate one object of an
IlvManager with an IlvManagerAnimator.
When the IlvManagerAnimator is attached to the
IlvManager, an IlvObjectAnimator is created for
each object managed by the manager to support animation. The object animator
stores the information on the current state of the object (such as
position, size, and so on) using the method recordState.
It can also display the movement of the object from the recorded state to
the current state using the method animInit and iterative
calls to the method animStep.
IlvManagerAnimator,
IlvManagerAnimator.getObjectAnimator(ilog.views.IlvGraphic, boolean),
IlvManagerAnimator.createObjectAnimator(ilog.views.IlvGraphic),
IlvManagerAnimator.createGraphicAnimator(ilog.views.IlvGraphic),
IlvManagerAnimator.createLinkImageAnimator(ilog.views.IlvLinkImage)| Modifier and Type | Method and Description |
|---|---|
void |
animCleanup()
Cleans up animation.
|
void |
animInit()
Initializes animation.
|
boolean |
animStep(IlvManager manager,
int i,
int maxI)
This method is called in the ith animation step.
|
void |
recordState()
Records the current state of the object (such as position, size, and so on)
in the object animator.
|
void recordState()
IlvManagerAnimator.recordState().
An animation sequence always shows the movement between the previously
recorded state and the current state.
IlvManagerAnimator.recordState()void animInit()
animate is performed.
IlvManagerAnimator.animate()void animCleanup()
animate is performed.
IlvManagerAnimator.animate()boolean animStep(IlvManager manager, int i, int maxI)
i = 1 to i = maxI by
IlvManagerAnimator.animate() to show animated movement,
for example, moving or resizing objects in small steps.
It returns true if animation must continue for this
object, false if animation is finished for this
object after the ith step.
manager - The manager that contains the graphic to be animated.i - The number of the current animation step.maxI - The maximum number of animation steps.IlvManagerAnimator.animate(),
IlvManagerAnimator.animStep(int)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.