Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.jemmy.image
Class StrictImageFinder

    java.lang.Object
      |
      +--org.netbeans.jemmy.image.StrictImageFinder

All Implemented Interfaces:
  ImageFinder

public class StrictImageFinder
extends java.lang.Object
implements ImageFinder

Performs "strict" (i.e. based on all pixels matching) image search.

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

Constructor Summary
`StrictImageFinder(java.awt.image.BufferedImage area)` Creates an instance searching subimages insige a parameter image.

Method Summary
`java.awt.Point` | `findImage(java.awt.image.BufferedImage image, int index)` Searchs for an image inside image passed into constructor.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StrictImageFinder

    public StrictImageFinder(java.awt.image.BufferedImage area)

  Creates an instance searching subimages insige a parameter image.
  Parameters:
    `area` - - Image to search in.

Method Detail

### findImage

    public java.awt.Point findImage(java.awt.image.BufferedImage image,
                                    int index)

  Searchs for an image inside image passed into constructor.
  Specified by:
    `findImage` in interface `ImageFinder`
  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:
    Left-up corner coordinates of image location.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD