Java Doc for SoundSchedulerAtom.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.SoundSchedulerAtom

SoundSchedulerAtom
class SoundSchedulerAtom extends Object (Code)
A SoundSchedulerAtom is the smallest object representing a Sound within SoundScheduler. This class contains View-Depedent fields. Some of these fields may appear to over lap fields in the Sound Node classes, but remember that the Sound Node fields are universal, user-defined fields and do not take into account specific Audio Device view-dependent conditions.


Field Summary
final static  intCOMPLETE
    
final static  intDO_NOTHING
    
final static  intLEAVE_AUDIBLE
    
final static  intLEAVE_OFF
    
final static  intLEAVE_PAUSED
    
final static  intLEAVE_SILENT
    
final static  intMAKE_AUDIBLE
    
final static  intMAKE_SILENT
    
final static  intMUTED
    
final static  intOFF
    
final static  intON
    
final static  intPAUSED
    
final static  intPAUSE_AUDIBLE
    
final static  intPAUSE_SILENT
    
final static  intPENDING_MUTE
    
final static  intPENDING_OFF
    
final static  intPENDING_ON
    
final static  intPENDING_PAUSE
    
final static  intPENDING_UNMUTE
    
final static  intPENDING_UNPAUSE
    
final static  intRESTART_AUDIBLE
    
final static  intRESTART_SILENT
    
final static  intRESUME_AUDIBLE
    
final static  intRESUME_SILENT
    
final static  intSOUND_AUDIBLE
    
final static  intSOUND_COMPLETE
    
final static  intSOUND_OFF
    
final static  intSOUND_PAUSED
    
final static  intSOUND_SILENT
    
final static  intSTART_AUDIBLE
    
final static  intSTART_SILENT
    
final static  intTURN_OFF
    
final static  intUNMUTED
    
final static  intUNPAUSED
    
final static  intUPDATE
    
 booleanactivated
    
 longattackLength
    
 intattribsDirty
     attribsDirty bit field This bitmask is set when sound node attribute is changed by the user.
final static  booleandebugFlag
    
 intenabled
    
 longendTime
    
final static  booleaninternalErrors
    
 intloadStatus
    
 longloopLength
    
 longloopStartOffset
    
 intmuted
    
 intnumberChannels
    
 intpaused
    
 booleanplaying
    
 longreleaseLength
    
 intsampleId
    
 longsampleLength
    
 intschedulingAction
    
 SoundRetainedsound
    
 MediaContainersoundData
    
 SoundSchedulersoundScheduler
    
 longstartTime
    
 intstateDirty
     stateDirty bit field This bitmask is set when scene graph state is changed.
 intstatus
    


Method Summary
synchronized  intcalcActiveSchedAction()
     calcActiveSchedAction() Calculate Sound Scheduler Action for Active sound (it's region intersects the viewPlatform).
synchronized  intcalcInactiveSchedAction()
     calcInactiveSchedAction() Calculate Sound Scheduler action for Inactive sound A big switch testing various SoundRetained fields to determine what SoundScheduler action to perform when sound is inactive.
synchronized  voidcalculateEndTime()
    
 voidclearAttribsDirtyFlag(int bitFlag)
     Clear sound's dirty flag bit value.
 voidclearAttribsDirtyFlag()
    
 voidclearStateDirtyFlag(int bitFlag)
    
 voidclearStateDirtyFlag()
    
 voiddebugPrint(String message)
    
 voidenable(boolean enabled)
    
 voidmute(boolean muted)
    
 voidpause(boolean paused)
    
 voidsetAttribsDirtyFlag(int bitFlag)
    
 voidsetEnableState(int state)
    
 voidsetMuteState(int state)
    
 voidsetPauseState(int state)
    
 voidsetStateDirtyFlag(int bitFlag)
    
 booleantestDirtyFlag(int field, int bitFlag)
    
 booleantestDirtyFlags()
    

Field Detail
COMPLETE
final static int COMPLETE(Code)



DO_NOTHING
final static int DO_NOTHING(Code)
Pending action for this sound determined by the SoundScheduler



LEAVE_AUDIBLE
final static int LEAVE_AUDIBLE(Code)



LEAVE_OFF
final static int LEAVE_OFF(Code)



LEAVE_PAUSED
final static int LEAVE_PAUSED(Code)



LEAVE_SILENT
final static int LEAVE_SILENT(Code)



MAKE_AUDIBLE
final static int MAKE_AUDIBLE(Code)



MAKE_SILENT
final static int MAKE_SILENT(Code)



MUTED
final static int MUTED(Code)



OFF
final static int OFF(Code)
Switch for turning sound on or off while the sound is "active"



ON
final static int ON(Code)



PAUSED
final static int PAUSED(Code)



PAUSE_AUDIBLE
final static int PAUSE_AUDIBLE(Code)



PAUSE_SILENT
final static int PAUSE_SILENT(Code)



PENDING_MUTE
final static int PENDING_MUTE(Code)



PENDING_OFF
final static int PENDING_OFF(Code)



PENDING_ON
final static int PENDING_ON(Code)



PENDING_PAUSE
final static int PENDING_PAUSE(Code)



PENDING_UNMUTE
final static int PENDING_UNMUTE(Code)



PENDING_UNPAUSE
final static int PENDING_UNPAUSE(Code)



RESTART_AUDIBLE
final static int RESTART_AUDIBLE(Code)



RESTART_SILENT
final static int RESTART_SILENT(Code)



RESUME_AUDIBLE
final static int RESUME_AUDIBLE(Code)



RESUME_SILENT
final static int RESUME_SILENT(Code)



SOUND_AUDIBLE
final static int SOUND_AUDIBLE(Code)



SOUND_COMPLETE
final static int SOUND_COMPLETE(Code)



SOUND_OFF
final static int SOUND_OFF(Code)
This status flag is used for sound scheduling



SOUND_PAUSED
final static int SOUND_PAUSED(Code)



SOUND_SILENT
final static int SOUND_SILENT(Code)



START_AUDIBLE
final static int START_AUDIBLE(Code)



START_SILENT
final static int START_SILENT(Code)



TURN_OFF
final static int TURN_OFF(Code)



UNMUTED
final static int UNMUTED(Code)
Switch for muting and unmuting sound while it is playing



UNPAUSED
final static int UNPAUSED(Code)
Switch for pausing and unpausing sound while it is playing



UPDATE
final static int UPDATE(Code)



activated
boolean activated(Code)
Is this sound in an active scheduling region



attackLength
long attackLength(Code)



attribsDirty
int attribsDirty(Code)
attribsDirty bit field This bitmask is set when sound node attribute is changed by the user.



debugFlag
final static boolean debugFlag(Code)



enabled
int enabled(Code)



endTime
long endTime(Code)



internalErrors
final static boolean internalErrors(Code)



loadStatus
int loadStatus(Code)



loopLength
long loopLength(Code)



loopStartOffset
long loopStartOffset(Code)



muted
int muted(Code)



numberChannels
int numberChannels(Code)



paused
int paused(Code)



playing
boolean playing(Code)



releaseLength
long releaseLength(Code)



sampleId
int sampleId(Code)
Identifiers of sample associated with sound source



sampleLength
long sampleLength(Code)



schedulingAction
int schedulingAction(Code)



sound
SoundRetained sound(Code)
The mirror sound node component of this sound scheduler atom



soundData
MediaContainer soundData(Code)
MediaContainer currently loaded for this atom



soundScheduler
SoundScheduler soundScheduler(Code)
reference to Sound Scheduler this atom is associated with



startTime
long startTime(Code)



stateDirty
int stateDirty(Code)
stateDirty bit field This bitmask is set when scene graph state is changed.



status
int status(Code)





Method Detail
calcActiveSchedAction
synchronized int calcActiveSchedAction()(Code)
calcActiveSchedAction() Calculate Sound Scheduler Action for Active sound (it's region intersects the viewPlatform). A big switch testing various SoundRetained fields to determine what SoundScheduler action to perform when sound is Active set sound active flag true switch on enable value, to set pending scheduling action depending on continuous and release flags and sound status



calcInactiveSchedAction
synchronized int calcInactiveSchedAction()(Code)
calcInactiveSchedAction() Calculate Sound Scheduler action for Inactive sound A big switch testing various SoundRetained fields to determine what SoundScheduler action to perform when sound is inactive. set sound active flag false switch on enable value, to set pending scheduling action depending on continuous and release flags and sound status



calculateEndTime
synchronized void calculateEndTime()(Code)
Calculate absolute time at which sample completes Checks playing flag denoting if sound is started already or not: false - calcalutes endTime in relation to startTime true - re-calculates endTime based on current position in loop portion of sample plus release length



clearAttribsDirtyFlag
void clearAttribsDirtyFlag(int bitFlag)(Code)
Clear sound's dirty flag bit value.
Parameters:
  binary - flag denotes bits to set OFF



clearAttribsDirtyFlag
void clearAttribsDirtyFlag()(Code)



clearStateDirtyFlag
void clearStateDirtyFlag(int bitFlag)(Code)



clearStateDirtyFlag
void clearStateDirtyFlag()(Code)



debugPrint
void debugPrint(String message)(Code)



enable
void enable(boolean enabled)(Code)



mute
void mute(boolean muted)(Code)



pause
void pause(boolean paused)(Code)



setAttribsDirtyFlag
void setAttribsDirtyFlag(int bitFlag)(Code)
Set bit(s) in soundDirty field
Parameters:
  binary - flag denotes bits to set ON



setEnableState
void setEnableState(int state)(Code)



setMuteState
void setMuteState(int state)(Code)



setPauseState
void setPauseState(int state)(Code)



setStateDirtyFlag
void setStateDirtyFlag(int bitFlag)(Code)



testDirtyFlag
boolean testDirtyFlag(int field, int bitFlag)(Code)
Test sound's dirty flag bit(s)
Parameters:
  field - denotes which bitmask to set into
Parameters:
  binary - flag denotes bits to set Test true if bit(s) in bitFlag are set dirty (on)



testDirtyFlags
boolean testDirtyFlags()(Code)
Test sound's dirty flags for ANY bits on true if any bit in bitFlag is flipped on



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.