< prev index next >
core/JemmyAWTInput/src/org/jemmy/image/AWTImage.java
Print this page
@@ -34,18 +34,14 @@
import org.jemmy.env.Environment;
import org.jemmy.image.pixel.*;
/**
- *
* @author shura
*/
public class AWTImage implements Image, WriteableRaster {
- /**
- *
- */
public static final String OUTPUT = AWTImage.class.getName() + ".OUTPUT";
public static final String PNG_FILE = ".png";
/**
* Get the value of imageRoot. The field is used to store images by relative
@@ -87,11 +83,11 @@
* Sets comparator to be used by default.
*
* @see Wrap#waitImage(org.jemmy.image.Image, java.lang.String,
* java.lang.String)
* @see ImageComparator
- * @param comparator
+ * @param comparator todo document
*/
public static void setComparator(ImageComparator comparator) {
Environment.getEnvironment().setProperty(ImageComparator.class, comparator);
}
@@ -101,15 +97,10 @@
Environment.getEnvironment().setPropertyIfNotSet(ImageStore.class, new PNGFileImageStore());
}
private BufferedImage image;
- /**
- * Creates an instance
- *
- * @param img
- */
public AWTImage(BufferedImage img) {
this.image = img;
}
public BufferedImage getTheImage() {
@@ -118,11 +109,11 @@
/**
* Compares using current comparator.
*
* @see AWTImage#getComparator()
- * @param img
+ * @param img todo document
* @return diff image.
*/
public Image compareTo(Image img) {
return getComparator().compare(this, img);
}
< prev index next >