Package org.netbeans.jemmy.image
Interface ImageFinder
-
- All Known Implementing Classes:
RoughImageFinder,StrictImageFinder
public interface ImageFinderInterface for all classes performing image lookup.- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.PointfindImage(java.awt.image.BufferedImage image, int index)Should return location if image lays inside an image represented by this object.
-
-
-
Method Detail
-
findImage
java.awt.Point findImage(java.awt.image.BufferedImage image, int index)Should return location if image lays inside an image represented by this object.- Parameters:
image- an image to search.index- an ordinal image location index. If equal to 1, for example, second appropriate location will be found.- Returns:
- Image location coordinates if image was found, null otherwise.
-
-