org.sikuli.script
Class Match

java.lang.Object
  extended by org.sikuli.script.Region
      extended by org.sikuli.script.Match
All Implemented Interfaces:
Comparable

public class Match
extends Region
implements Comparable


Field Summary
 
Fields inherited from class org.sikuli.script.Region
_autoWaitTimeout, _defaultFindFailedResponse, _evtMgr, _lastMatch, _lastMatches, _lastScreenImage, _observing, _throwException, h, w, x, y
 
Constructor Summary
Match(org.sikuli.script.natives.FindResult f)
           
Match(int _x, int _y, int _w, int _h, double _score)
           
Match(Match m)
           
 
Method Summary
 int compareTo(Object o)
           
 double getScore()
           
 Location getTarget()
           
 String toString()
           
 
Methods inherited from class org.sikuli.script.Region
above, above, below, below, click, doubleClick, drag, dragDrop, dropAt, exists, exists, find, findAll, findAllNow, findNow, getAutoWaitTimeout, getBottomLeft, getBottomRight, getCenter, getEventManager, getFindFailedResponse, getH, getLastMatch, getLastMatches, getLocationFromPSRML, getRect, getRegionFromPSRM, getROI, getScreen, getThrowException, getTopLeft, getTopRight, getW, getX, getY, highlight, highlight, highlight, hover, inside, keyDown, keyUp, left, left, morphTo, mouseDown, mouseUp, moveTo, nearby, nearby, observe, observe, observeInBackground, offset, onAppear, onChange, onChange, onVanish, paste, right, right, rightClick, setAutoWaitTimeout, setFindFailedResponse, setH, setRect, setRect, setRect, setROI, setROI, setROI, setThrowException, setW, setX, setY, stopObserver, text, type, updateSelf, wait, wait, waitAll, waitVanish, waitVanish, wheel, wheel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Match

public Match(int _x,
             int _y,
             int _w,
             int _h,
             double _score)
      throws AWTException
Throws:
AWTException

Match

public Match(Match m)
      throws AWTException
Throws:
AWTException

Match

public Match(org.sikuli.script.natives.FindResult f)
      throws AWTException
Throws:
AWTException
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getScore

public double getScore()

getTarget

public Location getTarget()

toString

public String toString()
Overrides:
toString in class Region