|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvrml.eai.field.BaseField
vrml.eai.field.EventIn
vrml.eai.field.EventInSFBool
public abstract class EventInSFBool
Reference to a SFBool event-in slot. Use this class to write values into SFBool event-in slots.
The following example demonstrates how to bind a Viewpoint:
vrml.eai.Node viewpoint = ...;
vrml.eai.field.EventInSFBool set_bind = (vrml.eai.field.EventInSFBool)viewpoint.getEventIn("set_bind");
set_bind.setValue(true);
| Field Summary |
|---|
| Fields inherited from class vrml.eai.field.BaseField |
|---|
MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f |
| Constructor Summary | |
|---|---|
protected |
EventInSFBool()
Default constructor. |
| Method Summary | |
|---|---|
abstract void |
setValue(boolean value)
Sets the value of the SFBool 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 |
|---|
protected EventInSFBool()
Node.getEventIn(java.lang.String) method.
| Method Detail |
|---|
public abstract void setValue(boolean value)
The following example demonstrates how to bind a Viewpoint:
vrml.eai.Node viewpoint = ...;
vrml.eai.field.EventInSFBool set_bind = (vrml.eai.field.EventInSFBool)viewpoint.getEventIn("set_bind");
set_bind.setValue(true);
value - The new boolean value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||