|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--hotline.iconlib.HLRGB
class to manage RGB-objects
| Constructor Summary | |
HLRGB()
initializes the class variables RGB=0x000000 |
|
HLRGB(byte r,
byte g,
byte b)
initializes the class variables RGB with the given values |
|
HLRGB(int rgb)
initializes the class variables RGB with the given values |
|
| Method Summary | |
int |
get()
return the RGB in big endian format |
int |
getBlue()
return the blue value of the object |
int |
getGreen()
return the green value of the object |
int |
getRed()
return the red value of the object |
void |
set(int rgb)
set the class variables RGB with the given values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HLRGB()
public HLRGB(byte r,
byte g,
byte b)
r - red valueg - green valueb - blue valuepublic HLRGB(int rgb)
rgb - RGB value stored in big endian order| Method Detail |
public void set(int rgb)
rgb - RGB value stored in big endian orderpublic int getRed()
public int getGreen()
public int getBlue()
public int get()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||