vrml.eai.field
Class EventInSFString

java.lang.Object
  extended by vrml.eai.field.BaseField
      extended by vrml.eai.field.EventIn
          extended by vrml.eai.field.EventInSFString

public abstract class EventInSFString
extends EventIn

Reference to a SFString event-in slot. Use this class to write values into SFString event-in slots.

The following example demonstrates how to change the description of an Anchor node:

 vrml.eai.Node anchor = ...;
 vrml.eai.field.EventInSFString set_description = (vrml.eai.field.EventInSFString)anchor.getEventIn("set_description");
 set_description.setValue("Hello World!");
 


Field Summary
 
Fields inherited from class vrml.eai.field.BaseField
MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFMatrix4f, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f
 
Constructor Summary
protected EventInSFString()
          Default constructor.
 
Method Summary
abstract  void setValue(java.lang.String value)
          Sets the value of a SFString event-in slot.
 
Methods inherited from class vrml.eai.field.EventIn
getUserData, setUserData
 
Methods inherited from class vrml.eai.field.BaseField
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventInSFString

protected EventInSFString()
Default constructor. This method is protected, i.e. you cannot create new instances of this class. The only way to get instances is via the Node.getEventIn(java.lang.String) method.

Method Detail

setValue

public abstract void setValue(java.lang.String value)
Sets the value of a SFString event-in slot.

The following example demonstrates how to change the description of an Anchor node:

 vrml.eai.Node anchor = ...;
 vrml.eai.field.EventInSFString set_description = (vrml.eai.field.EventInSFString)anchor.getEventIn("set_description");
 set_description.setValue("Hello World!");
 

Parameters:
value - The new string value.