org.netbeans.jemmy.image
Interface ImageFinder

All Known Implementing Classes:
RoughImageFinder, StrictImageFinder

public interface ImageFinder

Interface for all classes performing image lookup.

Author:
Alexandre Iline (alexandre.iline@sun.com)

Method Summary
 java.awt.Point findImage(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.