public class ICQColor extends Object
Constructor and Description |
---|
ICQColor()
Creates a new ICQ color.
|
Modifier and Type | Method and Description |
---|---|
int |
getBlue()
Get the value of blue.
|
int |
getGreen()
Get the value of green.
|
int |
getRed()
Get the value of red.
|
int |
getZero()
Get the value of zero.
|
int |
intValue()
Return RGB triplet as an integer.
|
void |
setBlue(int blue)
Set the value of blue.
|
void |
setGreen(int green)
Set the value of green.
|
void |
setRed(int red)
Set the value of red.
|
void |
setZero(int zero)
Set the value of zero.
|
String |
toString()
Return RGB triplet as a string.
|
public int getRed()
public void setRed(int red)
red
- Value to assign to red.public int getBlue()
public void setBlue(int blue)
blue
- Value to assign to blue.public int getGreen()
public void setGreen(int green)
green
- Value to assign to green.public int getZero()
public void setZero(int zero)
zero
- Value to assign to zero.public int intValue()