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