|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.image.ColorImageComparator.ForegroundColorMap
public static class ColorImageComparator.ForegroundColorMap
Turns foreground
color to white, other - to black.
Constructor Summary | |
---|---|
ColorImageComparator.ForegroundColorMap(int foreground)
Constructs a ColorImageComparator$ForegroundColorMap object. |
Method Summary | |
---|---|
int |
mapColor(int rgb)
Maps one color into another. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorImageComparator.ForegroundColorMap(int foreground)
foreground
- Foreground color.Method Detail |
---|
public int mapColor(int rgb)
ColorImageComparator.ColorMap
mapColor
in interface ColorImageComparator.ColorMap
rgb
- an original color.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |