Package vrml.field
Class ConstSFBool
java.lang.Object
vrml.Field
vrml.ConstField
vrml.field.ConstSFBool
- All Implemented Interfaces:
Cloneable
Constant VRML JSAI type class containing a single boolean value.
- Version:
- $Revision: 1.5 $
- Author:
- Alan Hudson, Justin Couch
-
Field Summary
FieldsFields inherited from class vrml.Field
valueChanged
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Construct an instance with default values.ConstSFBool
(boolean value) Construct a new constant field based on the given value. -
Method Summary
-
Field Details
-
data
protected boolean dataThe data that the field contains
-
-
Constructor Details
-
ConstSFBool
protected ConstSFBool()Construct an instance with default values. Not available to mere mortals. -
ConstSFBool
public ConstSFBool(boolean value) Construct a new constant field based on the given value.- Parameters:
value
- The value to copy
-
-
Method Details
-
getValue
public boolean getValue()Fetch the value of the field.- Returns:
- The value at that position
-
toString
-
clone
-