public class FrameAnimationSynch
extends java.lang.Object
Constructor and Description |
---|
FrameAnimationSynch()
Constructs a new frame animation synchronization object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
animationIsInProgress()
Indicates whether or not an animation is in progress.
|
boolean |
frameAnimationIsBusy()
Indicates whether or not generation/display of a new animation
frame is currently in progress.
|
boolean |
frameGenerationIsBusy()
Indicates whether or not the generation-phase for an
animation frame is currently in progress.
|
void |
setAnimationInProgress(boolean aip)
Records whether or not an animation is in progress.
|
void |
setFrameDisplayDone()
If the generation-display sequence is currently in progress
for a frame, then this marks its completion; otherwise,
nothing at all is done.
|
void |
setFrameGenerationDone()
Marks the end of the generation phase for the current frame
-- and thus the start of its display phase.
|
void |
setFrameGenerationStarted()
Records the start of the generation phase for a new frame.
|
public FrameAnimationSynch()
public void setAnimationInProgress(boolean aip)
public boolean animationIsInProgress()
public void setFrameGenerationStarted()
public void setFrameGenerationDone()
public void setFrameDisplayDone()
public boolean frameAnimationIsBusy()
public boolean frameGenerationIsBusy()