j3d-vrml97-0.1.0

org.jdesktop.j3d.loaders.vrml97.impl
Class Script

java.lang.Object
  extended by org.jdesktop.j3d.loaders.vrml97.impl.BaseNode
      extended by org.jdesktop.j3d.loaders.vrml97.impl.Script
All Implemented Interfaces:
Notifier

public class Script
extends BaseNode
implements Notifier

Description of the Class


Field Summary
 Hashtable FieldSpec
          Description of the Field
 
Constructor Summary
Script(Loader loader)
          Constructor for the Script object
 
Method Summary
 Object clone()
          Description of the Method
 Browser getBrowser()
          Gets the browser attribute of the Script object
 Field getEventIn(String eventInName)
          Gets the eventIn attribute of the Script object
 Field getEventOut(String eventOutName)
          Gets the eventOut attribute of the Script object
 Field getField(String fieldName)
          Gets the field attribute of the Script object
 String getType()
          Gets the type attribute of the Script object
 void notifyMethod(String eventInName, double time)
          Description of the Method
 void setEventIn(String eventInName, Field f)
          Sets the eventIn attribute of the Script object
 void setEventOut(String eventOutName, Field f)
          Sets the eventOut attribute of the Script object
 void setField(String fieldName, Field f)
          Sets the field attribute of the Script object
 BaseNode wrap()
          Description of the Method
 
Methods inherited from class org.jdesktop.j3d.loaders.vrml97.impl.BaseNode
getImplNode, getNumTris, toString, toStringId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FieldSpec

public Hashtable FieldSpec
Description of the Field

Constructor Detail

Script

public Script(Loader loader)
Constructor for the Script object

Parameters:
loader - Description of the Parameter
Method Detail

getEventIn

public final Field getEventIn(String eventInName)
                       throws InvalidEventInException
Gets the eventIn attribute of the Script object

Parameters:
eventInName - Description of the Parameter
Returns:
The eventIn value
Throws:
InvalidEventInException - Description of the Exception

getEventOut

public Field getEventOut(String eventOutName)
                  throws InvalidEventOutException
Gets the eventOut attribute of the Script object

Parameters:
eventOutName - Description of the Parameter
Returns:
The eventOut value
Throws:
InvalidEventOutException - Description of the Exception

getField

public final Field getField(String fieldName)
Gets the field attribute of the Script object

Specified by:
getField in class BaseNode
Parameters:
fieldName - Description of the Parameter
Returns:
The field value

notifyMethod

public void notifyMethod(String eventInName,
                         double time)
Description of the Method

Specified by:
notifyMethod in interface Notifier
Specified by:
notifyMethod in class BaseNode
Parameters:
eventInName - Description of the Parameter
time - Description of the Parameter

getType

public String getType()
Gets the type attribute of the Script object

Specified by:
getType in class BaseNode
Returns:
The type value

clone

public Object clone()
Description of the Method

Specified by:
clone in class BaseNode
Returns:
Description of the Return Value

setEventIn

public void setEventIn(String eventInName,
                       Field f)
Sets the eventIn attribute of the Script object

Parameters:
eventInName - The new eventIn value
f - The new eventIn value

setEventOut

public void setEventOut(String eventOutName,
                        Field f)
Sets the eventOut attribute of the Script object

Parameters:
eventOutName - The new eventOut value
f - The new eventOut value

setField

public void setField(String fieldName,
                     Field f)
Sets the field attribute of the Script object

Parameters:
fieldName - The new field value
f - The new field value

getBrowser

public Browser getBrowser()
Gets the browser attribute of the Script object

Overrides:
getBrowser in class BaseNode
Returns:
The browser value

wrap

public BaseNode wrap()
Description of the Method

Specified by:
wrap in class BaseNode
Returns:
Description of the Return Value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..