vrml.field
Class SFColor

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

public class SFColor
extends Field


Constructor Summary
SFColor()
           
SFColor(float red, float green, float blue)
           
 
Method Summary
 float getBlue()
           
 float getGreen()
           
 float getRed()
           
 void getValue(float[] colors)
           
 void setValue(ConstSFColor color)
           
 void setValue(float[] colors)
           
 void setValue(float red, float green, float blue)
           
 void setValue(SFColor color)
           
 java.lang.String toString()
           
 
Methods inherited from class vrml.Field
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SFColor

public SFColor()

SFColor

public SFColor(float red,
               float green,
               float blue)
Method Detail

getValue

public void getValue(float[] colors)

getRed

public float getRed()

getGreen

public float getGreen()

getBlue

public float getBlue()

setValue

public void setValue(float[] colors)

setValue

public void setValue(float red,
                     float green,
                     float blue)

setValue

public void setValue(ConstSFColor color)

setValue

public void setValue(SFColor color)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object