jas2.util
Interface HasNextPages
-
public interface HasNextPagesA JASWizardPage that implements this interface will have one or more subsequent pages. When a page that implements this interface is showing in a JASWizard, the "Next" button will be enabled. A sensible wizard page would implement this interface, or the Finishable interface, or both. If you implement neither then neither the "Next" nor "Finish" button will enable on the wizard, and you page will be a "dead end".- See Also:
JASWizardPage,JASWizard,Finishable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description JASWizardPagegetNext()This method is called when the user clicks on the "Next" button.JASWizardPage[]getNextWizardPages()Returns an array of all possible next pages.
-
-
-
Method Detail
-
getNextWizardPages
JASWizardPage[] getNextWizardPages()
Returns an array of all possible next pages. There could, of course, be just one element in this array. This method will be called before the wizard shows on the screen. The wizard needs to know all of the possible pages so that it can size itself to fit them all.- Returns:
- an array of all possible subsequent pages
-
getNext
JASWizardPage getNext()
This method is called when the user clicks on the "Next" button. You must return a page that was in the array returned bygetNextWizardPages.- Returns:
- a JASWizardPage that was included in the array returned by
getNextWizardPages
-
-
DataMelt 3.0 © DataMelt by jWork.ORG