|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vrml.BaseNode vrml.node.Script ScriptNodeEventOutControl
public class ScriptNodeEventOutControl
ScriptNodeEventOutControl provides Script functionality for 3D scenes ScriptNodeEventOutControl-Java (xml, wrl), serving as a simple example & conformance test.
Related scene:
Field Summary | |
---|---|
static boolean |
DEBUG
DEBUG allows developers to turn execution-trace messages on/off - these System.out.println messages appear in the Java Console window. |
Constructor Summary | |
---|---|
ScriptNodeEventOutControl()
|
Method Summary | |
---|---|
boolean |
getDEBUG()
accessor method to get DEBUG value. |
java.lang.String |
getName()
toString() overrides a utility method in Object, allowing run-time inspection of class name. |
void |
initialize()
Initialize scene variables prior to rendering. |
void |
processEvent(Event touchEvent)
processEvent() is called automatically when the script receives any event. |
void |
setDEBUG(boolean newValue)
accessor method to set DEBUG value. |
void |
shutdown()
shutdown () is called when this Script node is deleted. |
Methods inherited from class vrml.node.Script |
---|
eventsProcessed, getEventIn, getEventOut, getField, processEvents, toString |
Methods inherited from class vrml.BaseNode |
---|
getBrowser, getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static boolean DEBUG
Constructor Detail |
---|
public ScriptNodeEventOutControl()
Method Detail |
---|
public void setDEBUG(boolean newValue)
public boolean getDEBUG()
public java.lang.String getName()
Object.toString()
public void initialize()
initialize
in class Script
public void processEvent(Event touchEvent)
processEvent
in class Script
touchEvent
- provides the user's "click" Event ROUTEd into the Script.public void shutdown()
shutdown
in class Script
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |