|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DColor
org.eclipse.tptp.platform.report.birt).
public class DColor
DColor describes a color with RGB values.
| Constructor Summary | |
|---|---|
DColor()
Deprecated. Creates a DColor with 0,0,0 component. |
|
DColor(IDColor clr)
Deprecated. Creates a DColor copying R,G,B field from given parameter. |
|
DColor(int r,
int g,
int b)
Deprecated. Creates a DColor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object c)
Deprecated. Returns true if the values R(red), G(green ans B(Blue) are the same. |
int |
getAlpha()
Deprecated. |
int |
getBlue()
Deprecated. Returns the blue value of DColor. |
int |
getGreen()
Deprecated. Returns the Green value of DColor. |
java.lang.String |
getID()
Deprecated. |
int |
getRed()
Deprecated. Returns the Red value of DColor. |
int |
getRGBA()
Deprecated. |
static int |
RGBA(IDColor c)
Deprecated. |
static int |
RGBA(IDColor c,
int rgb_default)
Deprecated. |
void |
serializeFromString(java.lang.String s)
Deprecated. Initializes a string with the format #RRGGBBAA |
java.lang.String |
serializeToString()
Deprecated. Returns a String used to serialize this object. |
void |
setAlpha(int alpha)
Deprecated. sets the transparency value (0..255) |
void |
setBlue(int b)
Deprecated. Sets the Blue (0..255) value of DColor. |
void |
setGreen(int g)
Deprecated. Sets the Green (0..255) value of DColor. |
void |
setRed(int r)
Deprecated. Sets the Red (0.255) value of DColor. |
void |
setRGB(int r,
int g,
int b)
Deprecated. Sets the color with R(red), G(green) and B(blue) values. |
void |
setRGBA(int r,
int g,
int b,
int a)
Deprecated. Sets the color with R(red), G(green), B(blue) and A(alpha) values. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DColor()
public DColor(int r,
int g,
int b)
r - red value between 0..255g - green value between 0..255b - blue value between 0..255public DColor(IDColor clr)
clr - color to copy, or 0,0,0 if null| Method Detail |
|---|
public int getRed()
getRed in interface IDColorpublic int getGreen()
getGreen in interface IDColorpublic int getBlue()
getBlue in interface IDColorpublic void setRed(int r)
setRed in interface IDColorpublic void setGreen(int g)
setGreen in interface IDColorpublic void setBlue(int b)
setBlue in interface IDColorpublic boolean equals(java.lang.Object c)
equals in class java.lang.Object
public void setRGB(int r,
int g,
int b)
setRGB in interface IDColorr - red valueg - green valueb - blue value
public void setRGBA(int r,
int g,
int b,
int a)
r - red value 0..255g - green value 0.255b - blue value 0..255a - alpha value 0..255public java.lang.String toString()
toString in class java.lang.Objectpublic int getRGBA()
public static int RGBA(IDColor c)
public static int RGBA(IDColor c,
int rgb_default)
public int getAlpha()
public void setAlpha(int alpha)
public java.lang.String serializeToString()
IDStringSerializable
serializeToString in interface IDStringSerializablepublic void serializeFromString(java.lang.String s)
serializeFromString in interface IDStringSerializablepublic java.lang.String getID()
getID in interface IDColor
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||