|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.renderer.TimeScheduler
public class TimeScheduler
A default time scheduler that deals with all time information within a given scene.
Currently a stubbed implementation that does no work.
| Constructor Summary | |
|---|---|
TimeScheduler()
Create a new time scheduler behaviour |
|
| Method Summary | |
|---|---|
void |
addTimeListener(VRMLTimeListener l)
Add a time listener to this clock. |
double |
getTime()
Request the current time from the system clock. |
long |
getWallTime()
Request the time in wall-clock coordinates. |
void |
initialize()
Initialise the behavior to start running. |
void |
processStimulus(java.util.Enumeration why)
Process the event that builds the current time. |
void |
removeTimeListener(VRMLTimeListener l)
Remove a time listener to this clock. |
void |
resetTimeZero()
Reset the clock to the current time as time zero. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeScheduler()
| Method Detail |
|---|
public void initialize()
public void processStimulus(java.util.Enumeration why)
why - The list of conditions why this was wokenpublic double getTime()
getTime in interface VRMLClockpublic long getWallTime()
getWallTime in interface VRMLClockpublic void resetTimeZero()
resetTimeZero in interface VRMLClockpublic void addTimeListener(VRMLTimeListener l)
addTimeListener in interface VRMLClockl - The listener instance to addpublic void removeTimeListener(VRMLTimeListener l)
removeTimeListener in interface VRMLClockl - The listener instance to add
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||