Java Doc for MasterControl.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.MasterControl

MasterControl
class MasterControl (Code)

Inner Class :static enum TimeType

Field Summary
final static  IntegerACTIVATE_VIEW
    
final static  intCHECK_FOR_WORK
    
final static  IntegerDEACTIVATE_VIEW
    
final static  IntegerEMPTY_UNIVERSE
    
static  IntegerFREECONTEXT_CLEANUP
    
final static  IntegerFREE_CONTEXT
    
final static  IntegerFREE_DRAWING_SURFACE
    
final static  IntegerFREE_MESSAGE
    
final static  IntegerGETBESTCONFIG
    
final static  IntegerINPUTDEVICE_CHANGE
    
final static  IntegerISCONFIGSUPPORT
    
final static  IntegerPHYSICAL_ENV_CHANGE
    
final static  IntegerREEVALUATE_CANVAS
    
static  IntegerREMOVEALLCTXS_CLEANUP
    
static  IntegerREMOVECTX_CLEANUP
    
static  IntegerREMOVENOTIFY_CLEANUP
    
final static  IntegerRENDER
    
final static  IntegerRENDER_ONCE
    
final static  IntegerREQUESTRENDER
    
static  IntegerRESETCANVAS_CLEANUP
    
final static  IntegerRESET_CANVAS
    
final static  intRUNNING
    
final static  intRUN_RENDERER_CLEANUP
    
final static  intRUN_THREADS
    
final static  IntegerSET_GRAPHICSCONFIG_FEATURES
    
final static  IntegerSET_QUERYPROPERTIES
    
final static  IntegerSET_VIEW
    
final static  intSET_WORK
    
final static  intSET_WORK_FOR_REQUEST_RENDERER
    
final static  intSLEEPING
    
final static  IntegerSTART_RENDERER
    
final static  IntegerSTART_VIEW
    
final static  IntegerSTOP_RENDERER
    
final static  IntegerSTOP_VIEW
    
final static  IntegerSWAP
    
final static  intTHREAD_DONE
    
final static  IntegerUNREGISTER_VIEW
    
final static  intWAITING_FOR_CPU
    
final static  intWAITING_FOR_RENDERER_CLEANUP
    
final static  intWAITING_FOR_THREADS
    
 booleanallowNullGraphicsConfig
    
 booleanallowSoleUser
    
 longawt
    
 booleanbuildDisplayListIfPossible
    
 booleancacheAutoComputedBounds
    
static  booleancgLibraryAvailable
    
 ObjectcontextCreationLock
    
 HashtabledeviceScreenMap
    
 booleandisableCompile
    
 booleandisableSeparateSpecularColor
    
 booleandoCompaction
    
 booleandoDsiRenderLock
    
 booleanenforcePowerOfTwo
    
 booleanforceReleaseView
    
 intframeCount
    
static  intglobalShadingLanguage
    
static  booleanglslLibraryAvailable
    
 intglslVertexAttrOffset
    
 booleanimplicitAntialiasing
    
 booleanisCompiledVertexArray
    
 booleanisDisplayList
    
 booleanisSharedCtx
    
 intmaxLights
    
static  Stringmtype
    
 booleanreleaseBoundingBoxMemory
    
 ObjectrendererCleanupArgs
    
 UnorderListrequestObjList
    
 intresendTexTimestamp
    
volatile  booleanrunning
    
 booleansharedStereoZBuffer
    
 booleansortShape3DBounds
    
 booleanstencilClear
    
static  longsystemStartTime
     This is the start time upon which alpha's and behaviors are synchronized to.
 TimerThreadtimerThread
    
 booleantransparentOffScreen
    
 booleanuseBoxForGroupBounds
    
 booleanuseCombiners
    
 booleanusePbuffer
     Flag to indicate whether Pbuffers are used for off-screen rendering; true by default.
 booleanvertexAttrsInDisplayList
    
 booleanviewFrustumCulling
     Flag to indicate whether should renderer view frustum culling is done; true by default.
 booleanxineramaDisabled
    

Constructor Summary
 MasterControl()
     Constructs a new MasterControl object.

Method Summary
 voidaddInputDeviceScheduler(InputDeviceScheduler ds)
    
 voidaddMirrorObject(ObjectUpdate o)
    
 UnorderListcloneView()
     Return a clone of View, we can't access individual element of View after getting the size in separate API call without synchronized views.
 voidcreateMCThreads()
     This procedure create MC thread that start together with MC.
 voidcreateMasterControlThread()
     Create and start the MasterControl Thread.
 voiddoWork()
    
 voiddumpWorkThreads()
    
 voidfreeCanvasId(int canvasId)
    
 voidfreeDisplayListId(Integer id)
    
 voidfreeTexture2DId(int id)
    
 voidfreeTexture3DId(int id)
    
 intgetCanvasId()
    
 RenderMethodgetCompressedGeometryRenderMethod()
    
 longgetContextTimeStamp()
    
static  LoggergetCoreLogger()
    
 RenderMethodgetDefaultRenderMethod()
    
static  LoggergetDevLogger()
    
 IntegergetDisplayListId()
    
 RenderMethodgetDisplayListRenderMethod()
    
 InputDeviceBlockingThreadgetInputDeviceBlockingThread(InputDevice device)
     Invoke from InputDeviceScheduler to create an InputDeviceBlockingThread.
 RenderMethodgetOrientedShape3DRenderMethod()
    
 intgetRendererBit()
    
 intgetRendererId()
    
static  LoggergetStatsLogger()
    
 RenderMethodgetText3DRenderMethod()
    
 intgetTexture2DId()
    
 intgetTexture3DId()
    
 intgetThreadPriority()
    
final  longgetTime()
    
 RenderMethodgetVertexArrayRenderMethod()
    
static  booleanisAppletLauncher()
     Returns a flag indicating whether the sun.jnlp.applet.launcher system property is set to true.
static  booleanisCoreLoggable(Level level)
    
final  booleanisD3D()
     Returns whether we are using D3D.
static  booleanisDevLoggable(Level level)
    
 booleanisRegistered(View view)
    
static  booleanisStatsLoggable(Level level)
    
final static  booleanisWindows()
    
static  voidloadLibraries()
     Method to create and initialize the rendering Pipeline object, and to load the native libraries needed by Java 3D.
 booleanmcThreadDone()
     This procedure is invoked when isRunning is false.
 voidpostRequest(Integer type, Object obj)
    
 voidprocessMessage(J3dMessage message)
     This takes a given message and parses it out to the structures and marks its time value.
 voidprocessMessage(J3dMessage[] messages)
     This takes an array of messages and parses them out to the structures and marks the time value.
synchronized  voidrecordTime(TimeType type, long deltaTime)
    
 voidremoveInputDeviceScheduler(InputDeviceScheduler ds)
    
synchronized  voidrunMonitor(int action, UnorderList stateThreadList, UnorderList renderThreadList, UnorderList requestRenderThreadList, J3dThread nthread)
    
 voidsendAllocateCanvasId(Canvas3D c)
    
 voidsendCreateOffScreenBuffer(Canvas3D c)
    
 voidsendDestroyCtxAndOffScreenBuffer(Canvas3D c)
    
 voidsendFreeCanvasId(Canvas3D c)
    
 voidsendMessage(J3dMessage message)
     Send a message to another Java 3D thread.
 voidsendNotification(J3dNotification notification)
     This takes the specified notification message and sends it to the notification thread for processing.
 voidsendRenderMessage(GraphicsConfiguration gc, Object arg, Integer mtype)
     Call from GraphicsConfigTemplate to evaluate current capabilities using Renderer thread to invoke native graphics library functions.
 voidsendRunMessage(int targetThreads)
     Send a message to another Java 3D thread.
 voidsendRunMessage(long waitTime, View view, int targetThreads)
     Send a message to another Java 3D thread.
 voidsendRunMessage(View v, int targetThreads)
     Send a message to another Java 3D thread.
 voidsendRunMessage(VirtualUniverse u, int targetThreads)
     This sends a run message to the given threads.
 voidsetThreadPriority(int pri)
     Set thread priority to all threads under Java3D thread group.
final  voidsetWork()
     A convienence wrapper function for various parts of the system to force MC to run.
final  voidsetWorkForRequestRenderer()
    
final static  voidthreadYield()
     Yields the current thread, by sleeping for a small amount of time.
 voidupdateMirrorObjects()
     This updates any mirror objects.

Field Detail
ACTIVATE_VIEW
final static Integer ACTIVATE_VIEW(Code)



CHECK_FOR_WORK
final static int CHECK_FOR_WORK(Code)
Options for the runMonitor



DEACTIVATE_VIEW
final static Integer DEACTIVATE_VIEW(Code)



EMPTY_UNIVERSE
final static Integer EMPTY_UNIVERSE(Code)



FREECONTEXT_CLEANUP
static Integer FREECONTEXT_CLEANUP(Code)



FREE_CONTEXT
final static Integer FREE_CONTEXT(Code)



FREE_DRAWING_SURFACE
final static Integer FREE_DRAWING_SURFACE(Code)



FREE_MESSAGE
final static Integer FREE_MESSAGE(Code)



GETBESTCONFIG
final static Integer GETBESTCONFIG(Code)



INPUTDEVICE_CHANGE
final static Integer INPUTDEVICE_CHANGE(Code)



ISCONFIGSUPPORT
final static Integer ISCONFIGSUPPORT(Code)



PHYSICAL_ENV_CHANGE
final static Integer PHYSICAL_ENV_CHANGE(Code)



REEVALUATE_CANVAS
final static Integer REEVALUATE_CANVAS(Code)



REMOVEALLCTXS_CLEANUP
static Integer REMOVEALLCTXS_CLEANUP(Code)



REMOVECTX_CLEANUP
static Integer REMOVECTX_CLEANUP(Code)



REMOVENOTIFY_CLEANUP
static Integer REMOVENOTIFY_CLEANUP(Code)



RENDER
final static Integer RENDER(Code)



RENDER_ONCE
final static Integer RENDER_ONCE(Code)



REQUESTRENDER
final static Integer REQUESTRENDER(Code)



RESETCANVAS_CLEANUP
static Integer RESETCANVAS_CLEANUP(Code)



RESET_CANVAS
final static Integer RESET_CANVAS(Code)



RUNNING
final static int RUNNING(Code)



RUN_RENDERER_CLEANUP
final static int RUN_RENDERER_CLEANUP(Code)



RUN_THREADS
final static int RUN_THREADS(Code)



SET_GRAPHICSCONFIG_FEATURES
final static Integer SET_GRAPHICSCONFIG_FEATURES(Code)



SET_QUERYPROPERTIES
final static Integer SET_QUERYPROPERTIES(Code)



SET_VIEW
final static Integer SET_VIEW(Code)



SET_WORK
final static int SET_WORK(Code)



SET_WORK_FOR_REQUEST_RENDERER
final static int SET_WORK_FOR_REQUEST_RENDERER(Code)



SLEEPING
final static int SLEEPING(Code)



START_RENDERER
final static Integer START_RENDERER(Code)



START_VIEW
final static Integer START_VIEW(Code)



STOP_RENDERER
final static Integer STOP_RENDERER(Code)



STOP_VIEW
final static Integer STOP_VIEW(Code)



SWAP
final static Integer SWAP(Code)



THREAD_DONE
final static int THREAD_DONE(Code)



UNREGISTER_VIEW
final static Integer UNREGISTER_VIEW(Code)



WAITING_FOR_CPU
final static int WAITING_FOR_CPU(Code)



WAITING_FOR_RENDERER_CLEANUP
final static int WAITING_FOR_RENDERER_CLEANUP(Code)



WAITING_FOR_THREADS
final static int WAITING_FOR_THREADS(Code)



allowNullGraphicsConfig
boolean allowNullGraphicsConfig(Code)



allowSoleUser
boolean allowSoleUser(Code)



awt
long awt(Code)



buildDisplayListIfPossible
boolean buildDisplayListIfPossible(Code)



cacheAutoComputedBounds
boolean cacheAutoComputedBounds(Code)



cgLibraryAvailable
static boolean cgLibraryAvailable(Code)



contextCreationLock
Object contextCreationLock(Code)



deviceScreenMap
Hashtable deviceScreenMap(Code)



disableCompile
boolean disableCompile(Code)



disableSeparateSpecularColor
boolean disableSeparateSpecularColor(Code)



doCompaction
boolean doCompaction(Code)



doDsiRenderLock
boolean doDsiRenderLock(Code)



enforcePowerOfTwo
boolean enforcePowerOfTwo(Code)



forceReleaseView
boolean forceReleaseView(Code)



frameCount
int frameCount(Code)



globalShadingLanguage
static int globalShadingLanguage(Code)



glslLibraryAvailable
static boolean glslLibraryAvailable(Code)



glslVertexAttrOffset
int glslVertexAttrOffset(Code)



implicitAntialiasing
boolean implicitAntialiasing(Code)



isCompiledVertexArray
boolean isCompiledVertexArray(Code)



isDisplayList
boolean isDisplayList(Code)



isSharedCtx
boolean isSharedCtx(Code)



maxLights
int maxLights(Code)



mtype
static String mtype(Code)



releaseBoundingBoxMemory
boolean releaseBoundingBoxMemory(Code)



rendererCleanupArgs
Object rendererCleanupArgs(Code)



requestObjList
UnorderList requestObjList(Code)



resendTexTimestamp
int resendTexTimestamp(Code)



running
volatile boolean running(Code)
This flag indicates that MC is running



sharedStereoZBuffer
boolean sharedStereoZBuffer(Code)



sortShape3DBounds
boolean sortShape3DBounds(Code)



stencilClear
boolean stencilClear(Code)



systemStartTime
static long systemStartTime(Code)
This is the start time upon which alpha's and behaviors are synchronized to. It is initialized once, the first time that a MasterControl object is created.



timerThread
TimerThread timerThread(Code)



transparentOffScreen
boolean transparentOffScreen(Code)
by MIK OF CLASSX the flag to indicate whether the background of the offscreen canvas must be transparent or not false by default



useBoxForGroupBounds
boolean useBoxForGroupBounds(Code)



useCombiners
boolean useCombiners(Code)



usePbuffer
boolean usePbuffer(Code)
Flag to indicate whether Pbuffers are used for off-screen rendering; true by default. Set by the "j3d.usePbuffer" property, When this flag is set to false, Bitmap (Windows) or Pixmap (UNIX) rendering will be used



vertexAttrsInDisplayList
boolean vertexAttrsInDisplayList(Code)



viewFrustumCulling
boolean viewFrustumCulling(Code)
Flag to indicate whether should renderer view frustum culling is done; true by default. Set by the -Dj3d.viewFrustumCulling property, When this flag is set to false, the renderer view frustum culling is turned off.



xineramaDisabled
boolean xineramaDisabled(Code)




Constructor Detail
MasterControl
MasterControl()(Code)
Constructs a new MasterControl object. Note that there is exatly one MasterControl object, created statically by VirtualUniverse.




Method Detail
addInputDeviceScheduler
void addInputDeviceScheduler(InputDeviceScheduler ds)(Code)



addMirrorObject
void addMirrorObject(ObjectUpdate o)(Code)
Add an object to the mirror object list



cloneView
UnorderList cloneView()(Code)
Return a clone of View, we can't access individual element of View after getting the size in separate API call without synchronized views.



createMCThreads
void createMCThreads()(Code)
This procedure create MC thread that start together with MC.



createMasterControlThread
void createMasterControlThread()(Code)
Create and start the MasterControl Thread.



doWork
void doWork()(Code)
This is the MasterControl work method for Java 3D



dumpWorkThreads
void dumpWorkThreads()(Code)



freeCanvasId
void freeCanvasId(int canvasId)(Code)



freeDisplayListId
void freeDisplayListId(Integer id)(Code)



freeTexture2DId
void freeTexture2DId(int id)(Code)



freeTexture3DId
void freeTexture3DId(int id)(Code)



getCanvasId
int getCanvasId()(Code)



getCompressedGeometryRenderMethod
RenderMethod getCompressedGeometryRenderMethod()(Code)
This returns the compressed geometry RenderMethod



getContextTimeStamp
long getContextTimeStamp()(Code)
This returns a context creation time stamp Note: this has to be called under the contextCreationLock



getCoreLogger
static Logger getCoreLogger()(Code)
Get the core logger -- level is INFO by default SEVERE - Serious internal errors WARNING - Possible internal errors or anomalies INFO - General informational messages FINE - Internal debugging information - somewhat verbose FINER - Internal debugging information - more verbose FINEST - Internal debugging information - most verbose



getDefaultRenderMethod
RenderMethod getDefaultRenderMethod()(Code)
This returns the default RenderMethod



getDevLogger
static Logger getDevLogger()(Code)
Get the developer logger -- OFF by default WARNING - for probable incorrect or inconsistent api usage INFO - for informational messages such as performance hints (less verbose than FINE) FINE - for informational messages from inner loops FINER - using default values which may not be optimal



getDisplayListId
Integer getDisplayListId()(Code)
This returns the a unused displayListId



getDisplayListRenderMethod
RenderMethod getDisplayListRenderMethod()(Code)
This returns the displayList RenderMethod



getInputDeviceBlockingThread
InputDeviceBlockingThread getInputDeviceBlockingThread(InputDevice device)(Code)
Invoke from InputDeviceScheduler to create an InputDeviceBlockingThread.



getOrientedShape3DRenderMethod
RenderMethod getOrientedShape3DRenderMethod()(Code)
This returns the oriented shape3d RenderMethod



getRendererBit
int getRendererBit()(Code)
This returns the a unused renderer bit



getRendererId
int getRendererId()(Code)
This returns the a unused renderer bit



getStatsLogger
static Logger getStatsLogger()(Code)
Get the stats logger -- OFF by default WARNING - statistical anomalies INFO - basic performance stats - not too verbose and minimally intrusive FINE - somewhat verbose and intrusive FINER - more verbose and intrusive FINEST - most verbose and intrusive



getText3DRenderMethod
RenderMethod getText3DRenderMethod()(Code)
This returns the text3d RenderMethod



getTexture2DId
int getTexture2DId()(Code)
This returns the a unused textureId



getTexture3DId
int getTexture3DId()(Code)



getThreadPriority
int getThreadPriority()(Code)
Return Java3D thread priority



getTime
final long getTime()(Code)
This method increments and returns the next time value timeLock must get before this procedure is invoked



getVertexArrayRenderMethod
RenderMethod getVertexArrayRenderMethod()(Code)
This returns the vertexArray RenderMethod



isAppletLauncher
static boolean isAppletLauncher()(Code)
Returns a flag indicating whether the sun.jnlp.applet.launcher system property is set to true.



isCoreLoggable
static boolean isCoreLoggable(Level level)(Code)



isD3D
final boolean isD3D()(Code)
Returns whether we are using D3D. TODO: most code that cares about this should move into the pipeline



isDevLoggable
static boolean isDevLoggable(Level level)(Code)



isRegistered
boolean isRegistered(View view)(Code)
Return true if view is already registered with MC



isStatsLoggable
static boolean isStatsLoggable(Level level)(Code)



isWindows
final static boolean isWindows()(Code)
Returns whether we are running on Windows TODO: most code that cares about this should move into the pipeline



loadLibraries
static void loadLibraries()(Code)
Method to create and initialize the rendering Pipeline object, and to load the native libraries needed by Java 3D. This is called by the static initializer in VirtualUniverse before the MasterControl object is created.



mcThreadDone
boolean mcThreadDone()(Code)
This procedure is invoked when isRunning is false. Return true when there is no more pending request so that Thread can terminate. Otherwise we have to recreate the MC related threads.



postRequest
void postRequest(Integer type, Object obj)(Code)
Post the request in queue



processMessage
void processMessage(J3dMessage message)(Code)
This takes a given message and parses it out to the structures and marks its time value.



processMessage
void processMessage(J3dMessage[] messages)(Code)
This takes an array of messages and parses them out to the structures and marks the time value. Make sure, setWork() is done at the very end to make sure all the messages will be processed in the same frame



recordTime
synchronized void recordTime(TimeType type, long deltaTime)(Code)



removeInputDeviceScheduler
void removeInputDeviceScheduler(InputDeviceScheduler ds)(Code)



runMonitor
synchronized void runMonitor(int action, UnorderList stateThreadList, UnorderList renderThreadList, UnorderList requestRenderThreadList, J3dThread nthread)(Code)



sendAllocateCanvasId
void sendAllocateCanvasId(Canvas3D c)(Code)



sendCreateOffScreenBuffer
void sendCreateOffScreenBuffer(Canvas3D c)(Code)



sendDestroyCtxAndOffScreenBuffer
void sendDestroyCtxAndOffScreenBuffer(Canvas3D c)(Code)



sendFreeCanvasId
void sendFreeCanvasId(Canvas3D c)(Code)



sendMessage
void sendMessage(J3dMessage message)(Code)
Send a message to another Java 3D thread.



sendNotification
void sendNotification(J3dNotification notification)(Code)
This takes the specified notification message and sends it to the notification thread for processing.



sendRenderMessage
void sendRenderMessage(GraphicsConfiguration gc, Object arg, Integer mtype)(Code)
Call from GraphicsConfigTemplate to evaluate current capabilities using Renderer thread to invoke native graphics library functions. This avoid MT-safe problem when using thread directly invoke graphics functions.



sendRunMessage
void sendRunMessage(int targetThreads)(Code)
Send a message to another Java 3D thread. This variant is only call by TimerThread for Input Device Scheduler or to redraw all View for RenderThread



sendRunMessage
void sendRunMessage(long waitTime, View view, int targetThreads)(Code)
Send a message to another Java 3D thread. This variant is only call by TimerThread for Sound Scheduler



sendRunMessage
void sendRunMessage(View v, int targetThreads)(Code)
Send a message to another Java 3D thread. This variant is only called to update Render Thread



sendRunMessage
void sendRunMessage(VirtualUniverse u, int targetThreads)(Code)
This sends a run message to the given threads.



setThreadPriority
void setThreadPriority(int pri)(Code)
Set thread priority to all threads under Java3D thread group.



setWork
final void setWork()(Code)
A convienence wrapper function for various parts of the system to force MC to run.



setWorkForRequestRenderer
final void setWorkForRequestRenderer()(Code)



threadYield
final static void threadYield()(Code)
Yields the current thread, by sleeping for a small amount of time. Unlike Thread.yield(), this method guarantees that the current thread will yield to another thread waiting to run. It also ensures that the other threads will run for at least a small amount of time before the current thread runs again.



updateMirrorObjects
void updateMirrorObjects()(Code)
This updates any mirror objects. It is called when threads are done.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.