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
 boolean compare(java.awt.image.BufferedImage image1, java.awt.image.BufferedImage image2)
          Should return true if images matches, false otherwise.
 

Method Detail

compare

boolean compare(java.awt.image.BufferedImage image1,
                java.awt.image.BufferedImage image2)
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.