|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvrml.Field
vrml.field.SFColor
public class SFColor
Description of the Class
Field Summary |
---|
Fields inherited from class vrml.Field |
---|
implField |
Constructor Summary | |
---|---|
SFColor(float[] initColor)
Constructor for the SFColor object |
|
SFColor(float red,
float green,
float blue)
Constructor for the SFColor object |
|
SFColor(SFColor init)
Constructor for the SFColor object |
Method Summary | |
---|---|
Object |
clone()
Description of the Method |
float |
getBlue()
Gets the blue attribute of the SFColor object |
float |
getGreen()
Gets the green attribute of the SFColor object |
float |
getRed()
Gets the red attribute of the SFColor object |
float[] |
getValue()
Gets the value attribute of the SFColor object |
void |
getValue(float[] colr)
Gets the value attribute of the SFColor object |
void |
setBlue(float blue)
Sets the blue attribute of the SFColor object |
void |
setGreen(float green)
Sets the green attribute of the SFColor object |
void |
setRed(float red)
Sets the red attribute of the SFColor object |
void |
setValue(ConstSFColor constsfcolr)
Sets the value attribute of the SFColor object |
void |
setValue(float[] colrs)
Sets the value attribute of the SFColor object |
void |
setValue(float red,
float green,
float blue)
Sets the value attribute of the SFColor object |
void |
setValue(SFColor sfcolr)
Sets the value attribute of the SFColor object |
Methods inherited from class vrml.Field |
---|
getImpl, markWriteable |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SFColor(SFColor init)
init
- Description of the Parameterpublic SFColor(float red, float green, float blue)
red
- Description of the Parametergreen
- Description of the Parameterblue
- Description of the Parameterpublic SFColor(float[] initColor)
initColor
- Description of the ParameterMethod Detail |
---|
public void getValue(float[] colr)
colr
- Description of the Parameterpublic float[] getValue()
public void setRed(float red)
red
- The new red valuepublic void setGreen(float green)
green
- The new green valuepublic void setBlue(float blue)
blue
- The new blue valuepublic float getRed()
public float getGreen()
public float getBlue()
public void setValue(float[] colrs)
colrs
- The new value valuepublic void setValue(float red, float green, float blue)
red
- The new value valuegreen
- The new value valueblue
- The new value valuepublic void setValue(ConstSFColor constsfcolr)
constsfcolr
- The new value valuepublic void setValue(SFColor sfcolr)
sfcolr
- The new value valuepublic Object clone()
clone
in class Field
|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |