1 32 33 package it.businesslogic.ireport.gui.wizard; 34 35 import javax.swing.JPanel ; 36 37 41 public interface GenericWizard { 42 43 public String [] getStepsNames(); 44 public String getStepDescription(int step); 45 46 47 public void initWizard(); 48 49 52 public boolean nextStep(int nextStep); 53 54 55 58 public boolean previousStep(int previousStep); 59 60 63 public void finish(int currentStep); 64 65 public boolean canFinish(int currentStep); 66 public boolean canNext(int currentStep); 67 public boolean canPrevious(int currentStep); 68 69 public JPanel getStepPanel( int step); 70 71 72 } 73 | Popular Tags |