javax.media.j3d
Class InputDeviceBlockingThread

java.lang.Object
  extended by java.lang.Thread
      extended by javax.media.j3d.InputDeviceBlockingThread
All Implemented Interfaces:
java.lang.Runnable

 class InputDeviceBlockingThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  InputDevice device
           
private  int instanceNum
           
private static int NOTIFY
           
private static int numInstances
           
private  boolean ready
           
private  boolean running
           
private  boolean stop
           
private static int STOP
           
private static int WAIT
           
private  boolean waiting
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
InputDeviceBlockingThread(java.lang.ThreadGroup threadGroup, InputDevice device)
           
 
Method Summary
(package private)  void finish()
           
private  int getInstanceNum()
           
private  int newInstanceNum()
           
(package private)  void restart()
           
 void run()
           
(package private)  void runMonitor(int action)
           
(package private)  void sleep()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WAIT

private static final int WAIT
See Also:
Constant Field Values

NOTIFY

private static final int NOTIFY
See Also:
Constant Field Values

STOP

private static final int STOP
See Also:
Constant Field Values

device

private InputDevice device

running

private volatile boolean running

stop

private volatile boolean stop

waiting

private boolean waiting

ready

private boolean ready

numInstances

private static int numInstances

instanceNum

private int instanceNum
Constructor Detail

InputDeviceBlockingThread

InputDeviceBlockingThread(java.lang.ThreadGroup threadGroup,
                          InputDevice device)
Method Detail

newInstanceNum

private int newInstanceNum()

getInstanceNum

private int getInstanceNum()

run

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

sleep

void sleep()

restart

void restart()

finish

void finish()

runMonitor

void runMonitor(int action)


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.