gzz.client.gl
Class GLUpdateManager

java.lang.Object
  |
  +--gzz.client.AbstractUpdateManager
        |
        +--gzz.client.gl.GLUpdateManager
All Implemented Interfaces:
java.lang.Runnable

public class GLUpdateManager
extends AbstractUpdateManager


Nested Class Summary
 
Nested classes inherited from class gzz.client.AbstractUpdateManager
AbstractUpdateManager.FractCalculator, AbstractUpdateManager.LinearCalculator, AbstractUpdateManager.SimpleCalculator, AbstractUpdateManager.Window
 
Field Summary
static boolean demoMode
           
static java.lang.String rcsid
           
 
Fields inherited from class gzz.client.AbstractUpdateManager
dbg, defaultAnimationTime, fractCalc, instance, jumpFract, ordering
 
Constructor Summary
GLUpdateManager(java.lang.Runnable r)
           
 
Method Summary
 void addActionListener(java.awt.event.ActionListener l)
           
protected  boolean doIdle()
          Do the background tasks that need to be done in the main thread.
static GLUpdateManager getInstance()
           
protected  boolean handleEvents(boolean waitForEvent)
          For subclasses to override: process incoming events.
protected  void interruptEventloop()
           
 
Methods inherited from class gzz.client.AbstractUpdateManager
addWindow, callGenerateEnd, chg, chgAfter, chgImpl, doWhenIdle, freeze, getAnimationTime, getAnimationTimeImpl, prioritize, prioritizeImpl, rmWindow, run, setAnimationTime, setAnimationTimeImpl, setInstance, setNoAnimation, thaw, tickIdle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcsid

public static final java.lang.String rcsid
See Also:
Constant Field Values

demoMode

public static boolean demoMode
Constructor Detail

GLUpdateManager

public GLUpdateManager(java.lang.Runnable r)
Method Detail

handleEvents

protected boolean handleEvents(boolean waitForEvent)
Description copied from class: AbstractUpdateManager
For subclasses to override: process incoming events. In order to provide a responsive implementation, this method should only wait for 1000ms at most.

Specified by:
handleEvents in class AbstractUpdateManager
Parameters:
waitForEvent - Hang until an event comes.
Returns:
true, if any events were received.

addActionListener

public void addActionListener(java.awt.event.ActionListener l)

getInstance

public static GLUpdateManager getInstance()

doIdle

protected boolean doIdle()
Description copied from class: AbstractUpdateManager
Do the background tasks that need to be done in the main thread. Implementations overriding this method should also delegate!

Overrides:
doIdle in class AbstractUpdateManager
Returns:
true if something was done.

interruptEventloop

protected void interruptEventloop()
Overrides:
interruptEventloop in class AbstractUpdateManager