These methods are used to extract information from a portion of the screen:
Methods | Description |
---|---|
public void startEventMonitor() | Collects the screen changes and stores the changes in a buffer |
public boolean checkForChange(int startRow, int startCol, int endRow, int endCol, String text) | Checks for the text at a particular position |
public boolean checkForChange(int startRow, int startCol, int endRow, int endCol, String text, boolean clearBuffer) | Checks for the text at a particular position, and then clears the buffer |
public boolean waitForChange(int startRow, int startCol, int endRow, int endCol, String text) | Waits for the text to be displayed in the specified position |
public boolean waitForChange(int startRow, int startCol, int endRow, int endCol, String text, long timeout) | Waits for the text to be displayed in the specified position at the specified time |
clearHistory() | Clears the buffer |
public void stopEventMonitor() | Stops collecting input from the screen |