|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.filter.visualization.graph.Color
public class Color
(RGB-based) Color implementation for the visualization package.
Field Summary | |
---|---|
static Color |
BLACK
The predefined color black. |
static Color |
BLUE
The predefined color blue. |
static Color |
GRAY
The predefined color gray. |
static Color |
GREEN
The predefined color green. |
static Color |
RED
The predefined color red. |
static Color |
WHITE
The predefined color white. |
Constructor Summary | |
---|---|
Color(byte red,
byte green,
byte blue)
Creates a new color from the given values. |
|
Color(int rgb)
Creates a new color with the given RGB value. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
int |
getRGB()
Returns this color's RGB value as an int . |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Color BLACK
public static final Color RED
public static final Color GREEN
public static final Color BLUE
public static final Color GRAY
public static final Color WHITE
Constructor Detail |
---|
public Color(byte red, byte green, byte blue)
red
- The color's red valuegreen
- The color's green valueblue
- The color's blue valuepublic Color(int rgb)
rgb
- The RGB value of the new color (see getRGB()
for more information)Method Detail |
---|
public int getRGB()
int
. The blue value is stored in (the least
significant) byte 0, green in byte 1, and red in byte 2.
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |