|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectColorTable
Handles the color table
Constructor Summary | |
ColorTable()
|
Method Summary | |
void |
addToColorTable(int color,
int Y,
int U,
int V)
Add a color value to the color table |
int |
getUmax(int light,
int color)
Returns the U maximum for specified color and Y (light) value |
int |
getUmin(int light,
int color)
Returns the U minimum for specified color and Y (light) value |
int |
getVmax(int light,
int color)
|
int |
getVmin(int light,
int color)
Returns the V minimum for specified color and Y (light) value |
boolean |
isInColorTable(int color,
int Y,
int U,
int V)
Returns true if the color specified is in color tabel |
void |
resetColorTable()
Reset the color table |
void |
undoColorTable(int color)
Undo last change for specified color |
void |
writeColorTable(int Umin,
int Umax,
int Vmin,
int Vmax,
int light,
int color)
Set the boundaries for a specified color and light |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ColorTable()
Method Detail |
public boolean isInColorTable(int color, int Y, int U, int V)
public void addToColorTable(int color, int Y, int U, int V)
public void resetColorTable()
public void undoColorTable(int color)
public int getUmin(int light, int color)
public int getUmax(int light, int color)
public int getVmin(int light, int color)
public int getVmax(int light, int color)
public void writeColorTable(int Umin, int Umax, int Vmin, int Vmax, int light, int color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |