vrml.field
Class SFTime

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

public class SFTime
extends Field

Represents a VRML SFTime field in Java.


Constructor Summary
SFTime()
          Construct a default SFTime field.
SFTime(double time)
          Construct an SFTime field using the given value.
 
Method Summary
 double getValue()
          Get the value of the SFTime field.
 void setValue(ConstSFTime time)
          Set the value of an SFTime field.
 void setValue(double time)
          Set the value of an SFTime field.
 void setValue(SFTime time)
          Set the value of an SFTime 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

SFTime

public SFTime()
Construct a default SFTime field.


SFTime

public SFTime(double time)
Construct an SFTime field using the given value.

Parameters:
time - Initial value of field.
Method Detail

getValue

public double getValue()
Get the value of the SFTime field.

Returns:
Value of SFTime.

setValue

public void setValue(double time)
Set the value of an SFTime field.

Parameters:
time - Value to set SFTime field to.

setValue

public void setValue(ConstSFTime time)
Set the value of an SFTime field.

Parameters:
time - Value to set SFTime field to.

setValue

public void setValue(SFTime time)
Set the value of an SFTime field.

Parameters:
time - Value to set SFTime field to.