javax.media.j3d
Class J3dThreadData

java.lang.Object
  extended by javax.media.j3d.J3dThreadData

 class J3dThreadData
extends java.lang.Object

The J3dThreadData is the data wrapper for threads in Java 3D.


Field Summary
(package private)  Canvas3D canvas
          The Canvas3D that this Render invocation belongs to.
(package private) static int CONT_THREAD
           
(package private) static int LAST_STOP_TIMER
           
(package private)  long lastRunTime
          The last time that this thread was run
(package private)  long lastUpdateTime
          The last time that a message was sent to this thread.
(package private)  boolean needsRun
          This indicates whether or not this thread needs to run.
(package private) static int START_TIMER
           
(package private) static int STOP_TIMER
           
(package private)  J3dThread thread
          The thread for this data
(package private)  java.lang.Object threadArgs
          The arguments to be passed to this thread
(package private)  int threadOpts
          The run options for this thread.
(package private)  int threadType
          The thread type
(package private)  int type
          The type of the thread invocation.
(package private)  View view
          The view that this Render invocation belongs to.
(package private) static int WAIT_ALL_THREADS
          Thread run options
(package private) static int WAIT_THIS_THREAD
           
 
Constructor Summary
J3dThreadData()
          This constructor does nothing
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAIT_ALL_THREADS

static final int WAIT_ALL_THREADS
Thread run options

See Also:
Constant Field Values

CONT_THREAD

static final int CONT_THREAD
See Also:
Constant Field Values

WAIT_THIS_THREAD

static final int WAIT_THIS_THREAD
See Also:
Constant Field Values

START_TIMER

static final int START_TIMER
See Also:
Constant Field Values

STOP_TIMER

static final int STOP_TIMER
See Also:
Constant Field Values

LAST_STOP_TIMER

static final int LAST_STOP_TIMER
See Also:
Constant Field Values

thread

J3dThread thread
The thread for this data


lastUpdateTime

long lastUpdateTime
The last time that a message was sent to this thread.


lastRunTime

long lastRunTime
The last time that this thread was run


threadType

int threadType
The thread type


threadOpts

int threadOpts
The run options for this thread.


threadArgs

java.lang.Object threadArgs
The arguments to be passed to this thread


needsRun

boolean needsRun
This indicates whether or not this thread needs to run.


type

int type
The type of the thread invocation. RENDER or SWAP


view

View view
The view that this Render invocation belongs to.


canvas

Canvas3D canvas
The Canvas3D that this Render invocation belongs to. It is null for the SWAP invocation.

Constructor Detail

J3dThreadData

J3dThreadData()
This constructor does nothing



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