Beispiel #1
0
 /** Clicks the call contact button in order to call the unknown contact. */
 public void startCall() {
   callButton.doClick();
 }
Beispiel #2
0
 /** Clicks the add contact button in order to add the unknown contact to the contact list. */
 public void addUnknownContact() {
   addButton.doClick();
 }
 /**
  * Automatically press the cancel button when this dialog has been escaped.
  *
  * @param escaped indicates if this dialog has been closed by pressing the ESC key
  */
 @Override
 protected void close(boolean escaped) {
   if (escaped) cancelButton.doClick();
 }