|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoxi.color.AccessCriteria
toxi.color.RGBAccessor
public class RGBAccessor

Compares 2 colors by one of their RGB component values.
| Field Summary |
|---|
| Fields inherited from class toxi.color.AccessCriteria |
|---|
ALPHA, BLACK, BLUE, BRIGHTNESS, CYAN, GREEN, HUE, LUMINANCE, MAGENTA, RED, SATURATION, YELLOW |
| Constructor Summary | |
|---|---|
RGBAccessor(int comp)
|
|
| Method Summary | |
|---|---|
int |
compare(ReadonlyTColor a,
ReadonlyTColor b)
|
float |
getComponentValueFor(ReadonlyTColor col)
|
void |
setComponentValueFor(TColor col,
float val)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public RGBAccessor(int comp)
| Method Detail |
|---|
public int compare(ReadonlyTColor a,
ReadonlyTColor b)
public float getComponentValueFor(ReadonlyTColor col)
getComponentValueFor in class AccessCriteria
public void setComponentValueFor(TColor col,
float val)
setComponentValueFor in class AccessCriteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||