예제 #1
0
 @Override
 public boolean isPageValid() {
   // an account was selected, make sure that the destination is valid
   if (destinationAccount == null) {
     destinationAccount = accountCombo.getSelectedAccount();
   }
   return true;
 }
예제 #2
0
  private void accountAction() {
    destinationAccount = accountCombo.getSelectedAccount();

    /* Save the id of the selected account */
    if (destinationAccount != null) {
      pref.put(LAST_ACCOUNT, destinationAccount.getUuid());
      pref.putInt(DATE_FORMAT, dateFormatCombo.getSelectedIndex());
    }
  }
예제 #3
0
 public Account getAccount() {
   if (destinationAccount == null) {
     destinationAccount = accountCombo.getSelectedAccount();
   }
   return destinationAccount;
 }