|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Color Model.
Method Summary | |
java.awt.Color |
getColor(int i)
Get the i'th color. |
int |
getColorCount()
Get the number of colors. |
void |
setColor(int i,
java.awt.Color c)
Replace the i'th color with the given color. |
Method Detail |
public void setColor(int i, java.awt.Color c)
i
- color index. Must be smaller than getColorCount.c
- new color.public int getColorCount()
public java.awt.Color getColor(int i)
i
- color index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |