|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttabs.hair.HairColorData
public class HairColorData
Instances of this class represent a hair color read from the XML colors file
| Constructor Summary | |
|---|---|
HairColorData(java.lang.String blendingMode,
java.lang.String name,
java.lang.String red,
java.lang.String green,
java.lang.String blue)
Creates a new instance of this class given it's hair color data |
|
| Method Summary | |
|---|---|
int |
getBlendingMode()
The blending mode that should be used with this hair color |
int |
getBlue()
The 0-255 INT value for the blue channel |
int |
getGreen()
The 0-255 INT value for the green channel |
java.lang.String |
getName()
The untranslated code name of this hair color |
int |
getRed()
The 0-255 INT value for the red channel |
java.lang.String |
toString()
A string representation for this hair color |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HairColorData(java.lang.String blendingMode,
java.lang.String name,
java.lang.String red,
java.lang.String green,
java.lang.String blue)
blendingMode - the blending mode that should be used with this hair colorname - the untranslated code name of this hair colorred - an 0-255 String value for the red channelgreen - an 0-255 String value for the green channelblue - an 0-255 String value for the blue channel| Method Detail |
|---|
public int getBlendingMode()
public java.lang.String getName()
public int getBlue()
public int getGreen()
public int getRed()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||