|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.sikuli.script.Finder
public class Finder
| Constructor Summary | |
|---|---|
Finder(ScreenImage img,
Region region)
Finder constructor (finding within the given region). |
|
Finder(String screenFilename)
Finder constructor (finding within the desktop screen). |
|
Finder(String screenFilename,
Region region)
Finder constructor (finding within the given region). |
|
| Method Summary | ||
|---|---|---|
void |
__del__()
|
|
Finder |
__enter__()
|
|
void |
__exit__(Object type,
Object value,
Object trackback)
|
|
void |
destroy()
|
|
protected void |
finalize()
|
|
|
find(PSC ptn)
void find( Pattern/String/PatternClass ) finds the given pattern in the given ScreenImage. |
|
void |
find(String templateFilename,
double minSimilarity)
|
|
|
findAll(PSC ptn)
|
|
void |
findAll(String templateFilename,
double minSimilarity)
|
|
protected String |
findImageFile(String file)
|
|
boolean |
hasNext()
|
|
Match |
next()
|
|
void |
remove()
|
|
protected
|
setFindInput(PSC ptn)
|
|
protected void |
setTargetSmartly(org.sikuli.script.natives.FindInput fin,
String target)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Finder(String screenFilename)
throws IOException
IOException
public Finder(String screenFilename,
Region region)
throws IOException
IOException
public Finder(ScreenImage img,
Region region)
| Method Detail |
|---|
public Finder __enter__()
public void __exit__(Object type,
Object value,
Object trackback)
public void __del__()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
protected String findImageFile(String file)
throws IOException
IOException
protected <PSC> void setFindInput(PSC ptn)
throws IOException
IOException
protected void setTargetSmartly(org.sikuli.script.natives.FindInput fin,
String target)
public <PSC> void find(PSC ptn)
throws IOException
IOException
public void find(String templateFilename,
double minSimilarity)
throws IOException
IOException
public <PSC> void findAll(PSC ptn)
throws IOException
IOException
public void findAll(String templateFilename,
double minSimilarity)
throws IOException
IOExceptionpublic boolean hasNext()
hasNext in interface Iterator<Match>public Match next()
next in interface Iterator<Match>public void remove()
remove in interface Iterator<Match>public void destroy()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||