以下のメソッドは、画面の一部から情報を取り出すために使用されます。
メソッド | 説明 |
---|---|
public void startEventMonitor() | 画面の変更を収集し、変更をバッファーに格納します。 |
public boolean checkForChange(int startRow, int startCol, int endRow, int endCol, String text) | 特定の位置にあるテキストを検査します。 |
public boolean checkForChange(int startRow, int startCol, int endRow, int endCol, String text, boolean clearBuffer) | 特定の位置にあるテキストを検査し、バッファーをクリアします。 |
public boolean waitForChange(int startRow, int startCol, int endRow, int endCol, String text) | 指定された位置にテキストが表示されるまで待機します。 |
public boolean waitForChange(int startRow, int startCol, int endRow, int endCol, String text, long timeout) | 指定された時刻、指定された位置にテキストが表示されるまで待機します。 |
clearHistory() | バッファーをクリアします。 |
public void stopEventMonitor() | 画面からの入力の収集を停止します。 |