Package vrml.field
Class ConstSFInt32
java.lang.Object
vrml.Field
vrml.ConstField
vrml.field.ConstSFInt32
- All Implemented Interfaces:
Cloneable
Constant VRML JSAI type class containing a single int 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.ConstSFInt32
(int value) Construct a new constant field based on the given value. -
Method Summary
-
Field Details
-
data
protected int dataThe data that the field contains
-
-
Constructor Details
-
ConstSFInt32
protected ConstSFInt32()Construct an instance with default values. Not available to mere mortals. -
ConstSFInt32
public ConstSFInt32(int value) Construct a new constant field based on the given value.- Parameters:
value
- The value to copy
-
-
Method Details
-
getValue
public int getValue()Fetch the value of the field.- Returns:
- The value at that position
-
toString
-
clone
-