vrml.field
Class SFBool

java.lang.Object
  extended by vrml.Field
      extended by vrml.field.SFBool
All Implemented Interfaces:
java.lang.Cloneable

public class SFBool
extends Field

Represents a VRML SFBool field in Java.


Constructor Summary
SFBool()
          Default constructor for SFBool fields.
SFBool(boolean value)
          Construct an SFBool field.
 
Method Summary
 boolean getValue()
          Get the value of the SFBool field.
 void setValue(boolean b)
          Set the value of the SFBool field.
 void setValue(ConstSFBool b)
          Set the value of the SFBool field.
 void setValue(SFBool b)
          Set the value of the SFBool field.
 
Methods inherited from class vrml.Field
clone, dispose, finalize, getPeer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SFBool

public SFBool()
Default constructor for SFBool fields.


SFBool

public SFBool(boolean value)
Construct an SFBool field.

Parameters:
value - Boolean value of field.
Method Detail

getValue

public boolean getValue()
Get the value of the SFBool field.

Returns:
Value of SFBool.

setValue

public void setValue(boolean b)
Set the value of the SFBool field.

Parameters:
b - Desired value for SFBool.

setValue

public void setValue(ConstSFBool b)
Set the value of the SFBool field.

Parameters:
b - Desired value for SFBool.

setValue

public void setValue(SFBool b)
Set the value of the SFBool field.

Parameters:
b - Desired value for SFBool.