org.jmol.g3d
Class Platform3D.ClearingThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.jmol.g3d.Platform3D.ClearingThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Platform3D

 class Platform3D.ClearingThread
extends java.lang.Thread
implements java.lang.Runnable


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  boolean bufferHasBeenCleared
           
(package private)  boolean clientHasBuffer
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Platform3D.ClearingThread()
           
 
Method Summary
(package private)  void notifyBackgroundChange(int argbBackground)
           
(package private)  void notifyBufferReady()
           
(package private)  void obtainBufferForClient()
           
(package private)  void releaseBufferForClearing()
           
 void run()
           
(package private)  void waitForClientRelease()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bufferHasBeenCleared

boolean bufferHasBeenCleared

clientHasBuffer

boolean clientHasBuffer
Constructor Detail

Platform3D.ClearingThread

Platform3D.ClearingThread()
Method Detail

notifyBackgroundChange

void notifyBackgroundChange(int argbBackground)

obtainBufferForClient

void obtainBufferForClient()

releaseBufferForClearing

void releaseBufferForClearing()

waitForClientRelease

void waitForClientRelease()

notifyBufferReady

void notifyBufferReady()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread