public class EventManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
EventManager.State |
Constructor and Description |
---|
EventManager(Region region) |
Modifier and Type | Method and Description |
---|---|
<PSC> void |
addAppearObserver(PSC ptn,
SikuliEventObserver ob) |
void |
addChangeObserver(int threshold,
SikuliEventObserver ob) |
<PSC> void |
addVanishObserver(PSC ptn,
SikuliEventObserver ob) |
protected void |
callAppearObserver(java.lang.Object ptn,
Match m) |
protected void |
callChangeObserver(FindResults results) |
protected void |
callVanishObserver(java.lang.Object ptn,
Match m) |
protected void |
checkChanges(ScreenImage img) |
protected void |
checkPatterns(ScreenImage img) |
void |
dispose() |
protected void |
finalize() |
protected int |
getMinChanges() |
void |
update(ScreenImage img) |
public EventManager(Region region)
public <PSC> void addAppearObserver(PSC ptn, SikuliEventObserver ob)
public <PSC> void addVanishObserver(PSC ptn, SikuliEventObserver ob)
public void addChangeObserver(int threshold, SikuliEventObserver ob)
protected void callAppearObserver(java.lang.Object ptn, Match m)
protected void callVanishObserver(java.lang.Object ptn, Match m)
protected void checkPatterns(ScreenImage img)
protected void callChangeObserver(FindResults results) throws java.awt.AWTException
java.awt.AWTException
protected int getMinChanges()
protected void checkChanges(ScreenImage img)
public void update(ScreenImage img)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void dispose()