Package org.netbeans.jemmy.image
Interface ImageComparator
- All Known Implementing Classes:
ColorImageComparator
,RoughImageComparator
,StrictImageComparator
public interface ImageComparator
Interface for all classes performing image comparision.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compare
(BufferedImage image1, BufferedImage image2) Should return true if images matches, false otherwise.
-
Method Details
-
compare
Should return true if images matches, false otherwise.- Parameters:
image1
- an image to compare.image2
- an image to compare.- Returns:
- true if images match each other.
-