|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GLAnimatorControl
An animator control interface,
which implementation may drive a GLAutoDrawable animation.
| Field Summary |
|---|
| Fields inherited from interface javax.media.opengl.FPSCounter |
|---|
DEFAULT_FRAMES_PER_INTERVAL |
| Method Summary | |
|---|---|
Thread |
getThread()
|
boolean |
isAnimating()
Indicates whether this animator is running and animating, the latter is true if it has GLAutoDrawables to render and is not paused. |
boolean |
isPaused()
Indicates whether this animator is running and paused. |
boolean |
isStarted()
Indicates whether this animator is running, ie. has been started and not stopped. |
boolean |
pause()
Pauses this animator. |
void |
remove(GLAutoDrawable drawable)
Removes a drawable from the animator's list of rendering drawables. |
boolean |
resume()
Resumes animation if paused. |
boolean |
start()
Starts this animator, if not running. |
boolean |
stop()
Stops this animator. |
| Methods inherited from interface javax.media.opengl.FPSCounter |
|---|
getFPSStartTime, getLastFPS, getLastFPSPeriod, getLastFPSUpdateTime, getTotalFPS, getTotalFPSDuration, getTotalFPSFrames, getUpdateFPSFrames, resetFPSCounter, setUpdateFPSFrames |
| Method Detail |
|---|
boolean isStarted()
start(),
stop(),
pause(),
resume()boolean isAnimating()
GLAutoDrawables to render and is not paused.
start(),
stop(),
pause(),
resume()boolean isPaused()
start(),
stop(),
pause(),
resume()Thread getThread()
start(),
stop()boolean start()
In most situations this method blocks until completion, except when called from the animation thread itself or in some cases from an implementation-internal thread like the AWT event queue thread.
If started, all counters (time, frames, ..) are reset to zero.
stop(),
isAnimating(),
getThread()boolean stop()
In most situations this method blocks until completion, except when called from the animation thread itself or in some cases from an implementation-internal thread like the AWT event queue thread.
start(),
isAnimating(),
getThread()boolean pause()
In most situations this method blocks until completion, except when called from the animation thread itself or in some cases from an implementation-internal thread like the AWT event queue thread.
resume(),
isAnimating()boolean resume()
In most situations this method blocks until completion, except when called from the animation thread itself or in some cases from an implementation-internal thread like the AWT event queue thread.
If resumed, all counters (time, frames, ..) are reset to zero.
pause(),
isAnimating()void remove(GLAutoDrawable drawable)
drawable - the to be removed drawable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||