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, IScreen _parent)
           
Match(int _x, int _y, int _w, int _h, double _score, IScreen _parent)
           
Match(int _x, int _y, int _w, int _h, double _score, IScreen _parent, String text)
           
Match(Match m, IScreen _parent)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object oThat)
           
 double getScore()
           
 Location getTarget()
           
 String text()
           
 String toString()
           
 
Methods inherited from class org.sikuli.script.Region
above, above, below, below, click, click, create, create, create, create, doubleClick, doubleClick, drag, dragDrop, dragDrop, dropAt, 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, init, inside, keyDown, keyDown, keyUp, keyUp, keyUp, left, left, listText, morphTo, mouseDown, mouseMove, mouseUp, mouseUp, moveTo, nearby, nearby, observe, observe, observeInBackground, offset, onAppear, onChange, onChange, onVanish, paste, paste, right, right, rightClick, rightClick, setAutoWaitTimeout, setFindFailedResponse, setH, setRect, setRect, setRect, setROI, setROI, setROI, setThrowException, setW, setX, setY, stopObserver, toJythonRegion, type, type, type, type, updateSelf, wait, wait, wait, waitAll, waitVanish, waitVanish, wheel, wheel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Match

public Match(int _x,
             int _y,
             int _w,
             int _h,
             double _score,
             IScreen _parent)

Match

public Match(int _x,
             int _y,
             int _w,
             int _h,
             double _score,
             IScreen _parent,
             String text)

Match

public Match(Match m,
             IScreen _parent)

Match

public Match(org.sikuli.script.natives.FindResult f,
             IScreen _parent)
Method Detail

compareTo

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

equals

public boolean equals(Object oThat)
Overrides:
equals in class Object

getScore

public double getScore()

getTarget

public Location getTarget()

toString

public String toString()
Overrides:
toString in class Region

text

public String text()
Overrides:
text in class Region