Пример #1
0
 // back
 protected boolean goBack() {
   if (wizardComponents.getCurrentIndex() - 1 >= 0) {
     wizardComponents.setCurrentIndex(wizardComponents.getCurrentIndex() - 1);
     wizardComponents.updateComponents();
     return true;
   } else {
     return false;
   }
 }
Пример #2
0
 // next
 protected boolean goNext() {
   if (wizardComponents.getWizardPanelList().size() > wizardComponents.getCurrentIndex() + 1) {
     wizardComponents.setCurrentIndex(wizardComponents.getCurrentIndex() + 1);
     wizardComponents.updateComponents();
     return true;
   } else {
     return false;
   }
 }
Пример #3
0
 protected void setFinishButtonEnabled(boolean set) {
   wizardComponents.getFinishButton().setEnabled(set);
 }