|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WizardPage
A simple interface that is implemented by all wizard pages so that they can be displayed in a wizard dialog. This interface provides the hand shake between a wizard dialog and a wizard page.
Method Summary | |
---|---|
java.awt.Component |
getPage()
Obtain the actual component associated with this wizard page. |
java.lang.String |
getSubTitle()
This method must be implemented to return a sub-title for this wizard page. |
java.lang.String |
getTitle()
This method must be implemented to return a title for this wizard page. |
void |
pageChanged(WizardDialog dialog,
int currPage,
int prevPage)
This method is invoked on a wizard page just before it is going to be displayed. |
boolean |
pageChanging(WizardDialog dialog,
int currPage,
int nextPage)
This method is invoked to indicate indicate to the currently visible page that the user is moving away from the current page by clicking either on the "Previous" or the "Next" button. |
Method Detail |
---|
java.awt.Component getPage()
java.lang.String getTitle()
java.lang.String getSubTitle()
boolean pageChanging(WizardDialog dialog, int currPage, int nextPage)
dialog
- The wizard dialog that is invoking this method.currPage
- The logical (zero-based) index of the current
page in the sequence of pages in the wizard.nextPage
- The logical (zero-based) index of the next
page that is going to be displayed.
void pageChanged(WizardDialog dialog, int currPage, int prevPage)
Note: This method must call WizardDialog.setButtonStatus(int, int, int)
with suitable parameters.
dialog
- The wizard dialog that is invoking this method.currPage
- The logical (zero-based) index of the current
page in the sequence of pages in the wizard that is going to
be displayed.prevPage
- The logical (zero-based) index of the previous
page that was displayed. For the first page this value is
-1.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |