コード例 #1
0
 @Override
 public void onEnterKeyPressed() {
   if (wizard.hasNext() && currentPage.isCompleted()) {
     onNextClicked();
   } else if (wizard.canComplete()) {
     onImportClicked();
   }
 }
コード例 #2
0
 @Override
 public void updateControls() {
   view.setBackButtonEnabled(false);
   view.setNextButtonEnabled(wizard.hasNext() && currentPage.isCompleted());
   view.setImportButtonEnabled(wizard.canComplete());
 }