vrml.field
Class SFFloat

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

public class SFFloat
extends Field

Represents a VRML SFFloat field in Java.


Constructor Summary
SFFloat()
          Default constructor for SFFloat fields.
SFFloat(float f)
          Construct an SFFloat field.
 
Method Summary
 float getValue()
          Get the value of the SFFloat field.
 void setValue(ConstSFFloat f)
          Set the value of the SFFloat field.
 void setValue(float f)
          Set the value of the SFFloat field.
 void setValue(SFFloat f)
          Set the value of the SFFloat 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

SFFloat

public SFFloat()
Default constructor for SFFloat fields.


SFFloat

public SFFloat(float f)
Construct an SFFloat field.

Parameters:
f - Float value of field.
Method Detail

getValue

public float getValue()
Get the value of the SFFloat field.

Returns:
Value of SFFloat.

setValue

public void setValue(float f)
Set the value of the SFFloat field.

Parameters:
f - Desired value for SFFloat.

setValue

public void setValue(ConstSFFloat f)
Set the value of the SFFloat field.

Parameters:
f - Desired value for SFFloat.

setValue

public void setValue(SFFloat f)
Set the value of the SFFloat field.

Parameters:
f - Desired value for SFFloat.