|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jcurzez.peer.curses.CursesColor
A curses color. This is the object that will be stored
in realColor when using the curses
implementation.
Each color is defined by :
| Field Summary | |
(package private) short |
blue
Blue component of this CursesColor. |
(package private) short |
green
Green component of this CursesColor. |
(package private) short |
index
Index of the color for curses. |
(package private) short |
red
Red component of this CursesColor. |
| Constructor Summary | |
CursesColor(short index,
short red,
short green,
short blue)
Creates a new color with specified intensified values, using RGB color system. |
|
| Method Summary | |
short |
getBlue()
Returns the blue component of this CursesColor. |
short |
getGreen()
Returns the green component of this CursesColor. |
short |
getIndex()
Returns the index of the color. |
short |
getRed()
Returns the red component of this CursesColor. |
java.lang.String |
toString()
Returns a string representation of this CursesColor,
i.e. the intensity of red, green and blue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
short index
short red
CursesColor.
short green
CursesColor.
short blue
CursesColor.
| Constructor Detail |
public CursesColor(short index,
short red,
short green,
short blue)
index - the index of the color.red - red intensity, in the range 0-1000.green - green intensity, in the range 0-1000.blue - blue intensity, in the range 0-1000.| Method Detail |
public java.lang.String toString()
CursesColor,
i.e. the intensity of red, green and blue.
toString in class java.lang.Objectpublic short getIndex()
CursesColor.public short getRed()
CursesColor.
public short getGreen()
CursesColor.
public short getBlue()
CursesColor.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||