| Package | Description |
|---|---|
| org.jemmy.control | |
| org.jemmy.image | |
| org.jemmy.image.pixel | |
| org.jemmy.lookup |
| Modifier and Type | Method and Description |
|---|---|
Image |
Wrap.getScreenImage()
Captures the screen area held by the component.
|
Image |
Wrap.getScreenImage(Rectangle rect)
Captures portion of the screen area held by the component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Wrap.waitImage(Image golden,
Rectangle rect,
String resID,
String diffID)
Waits for a portion of image to be exact the same as the parameter.
|
void |
Wrap.waitImage(Image golden,
String resID,
String diffID)
Waits for image to be exact the same as the parameter.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
ImageCapturer.capture(Wrap<?> control,
Rectangle rect)
Obtains a screen image for the control.
|
Image |
ImageComparator.compare(Image image1,
Image image2)
Checks if images are the same according to whatever comparison logic is used.
|
Image |
Image.compareTo(Image img)
Compares the image with the other one.
|
Image |
ImageLoader.load(String ID)
Loads image by ID.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
ImageComparator.compare(Image image1,
Image image2)
Checks if images are the same according to whatever comparison logic is used.
|
Image |
Image.compareTo(Image img)
Compares the image with the other one.
|
void |
ImageStore.save(Image image,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Image |
PixelImageComparator.compare(Image image1,
Image image2) |
Image |
ResizeComparator.compare(Image image1,
Image image2) |
abstract Image |
ResizeComparator.resize(Image image,
Dimension size) |
protected abstract Image |
PixelImageComparator.toImage(Raster image) |
| Modifier and Type | Method and Description |
|---|---|
Image |
PixelImageComparator.compare(Image image1,
Image image2) |
Image |
ResizeComparator.compare(Image image1,
Image image2) |
abstract Dimension |
ResizeComparator.getSize(Image image) |
abstract Image |
ResizeComparator.resize(Image image,
Dimension size) |
void |
PNGFileImageStore.save(Image image,
String id) |
protected abstract Raster |
PixelImageComparator.toRaster(Image image) |
| Modifier and Type | Method and Description |
|---|---|
Image |
ImageLookup.getLastDiff() |
Image |
ImageLookup.getLastImage() |
| Constructor and Description |
|---|
ImageLookup(Wrapper wrapper,
Class<T> type,
Image image) |
ImageLookup(Wrapper wrapper,
Class<T> type,
Image image,
Rectangle subArea) |
Copyright © 2019. All rights reserved.