|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mmtk.utility.gcspy.Color
public class Color
Cut-down implementation of java.awt.Color sufficient to provide the server side (Stream) with colours
Field Summary | |
---|---|
private short |
b
|
static Color |
Black
|
static Color |
Blue
|
static Color |
Cyan
|
static Color |
DarkGray
|
private short |
g
|
static Color |
Gray
|
static Color |
Green
|
static Color |
LightGray
|
static Color |
Magenta
|
static Color |
MidGray
|
static Color |
NavyBlue
|
static Color |
OffWhite
|
static Color |
Orange
|
static Color |
Pink
|
private short |
r
|
static Color |
Red
|
static Color |
White
|
static Color |
Yellow
|
Constructor Summary | |
---|---|
private |
Color(int r,
int g,
int b)
Constructor for a simple RGB colour model. |
|
Color(short r,
short g,
short b)
Constructor for a simple RGB colour model. |
Method Summary | |
---|---|
short |
getBlue()
Blue component |
short |
getGreen()
Green component |
short |
getRed()
Red component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Color Black
public static final Color Blue
public static final Color Cyan
public static final Color DarkGray
public static final Color Gray
public static final Color Green
public static final Color LightGray
public static final Color Magenta
public static final Color MidGray
public static final Color NavyBlue
public static final Color OffWhite
public static final Color Orange
public static final Color Pink
public static final Color Red
public static final Color White
public static final Color Yellow
private short r
private short g
private short b
Constructor Detail |
---|
public Color(short r, short g, short b)
r
- red componentg
- green componentb
- blue componentprivate Color(int r, int g, int b)
r
- red componentg
- green componentb
- blue componentMethod Detail |
---|
public short getRed()
public short getGreen()
public short getBlue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |