iicm.vrml.pw
Class SFColor

java.lang.Object
  |
  +--iicm.vrml.pw.Field
        |
        +--iicm.vrml.pw.SFColor

public class SFColor
extends Field

SFColor - Field that holds an RGB color (3 floats)


Fields inherited from class iicm.vrml.pw.Field
changed, class_, F_EVENTIN, F_EVENTOUT, F_EXPOSEDFIELD, F_FIELD, readerror, STR_EVENTIN, STR_EVENTOUT, STR_EXPOSEDFIELD, STR_FIELD
 
Constructor Summary
SFColor(float R, float G, float B)
           
 
Method Summary
 java.lang.String fieldName()
          the field's type name
 float[] getValue()
           
 void setValue(float R, float G, float B)
           
 
Methods inherited from class iicm.vrml.pw.Field
findProtoField, getFieldClass, getFieldClassName, getTimeOfChange, readError, sendEvent, setEventCallback, wasChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SFColor

public SFColor(float R,
               float G,
               float B)
Method Detail

fieldName

public java.lang.String fieldName()
Description copied from class: Field
the field's type name
Overrides:
fieldName in class Field

getValue

public final float[] getValue()

setValue

public final void setValue(float R,
                           float G,
                           float B)