예제 #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);
 }