Ces méthodes permettent d'extraire des informations d'une partie de l'écran :
Méthode | Description |
---|---|
public void startEventMonitor() | Récupère les modifications de l'écran et stocke les modifications dans une mémoire tampon |
public boolean checkForChange(int startRow, int startCol, int endRow, int endCol, String text) | Contrôle le texte à un emplacement particulier |
public boolean checkForChange(int startRow, int startCol, int endRow, int endCol, String text, boolean clearBuffer) | Contrôle le texte à un emplacement particulier puis vide la mémoire tampon |
public boolean waitForChange(int startRow, int startCol, int endRow, int endCol, String text) | Attend l'affichage du texte à l'emplacement indiqué |
public boolean waitForChange(int startRow, int startCol, int endRow, int endCol, String text, long timeout) | Attend l'affichage du texte à l'emplacement et au moment indiqués |
clearHistory() | Vide la mémoire tampon |
public void stopEventMonitor() | Arrête de collecter les entrées depuis l'écran |