|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WizardPage
The WizardPage represents a page in a WizardContainer. A page has a unique identifier. Each page should specify the identifier of both next and previous page to be displayed when user clicks "Next" or "Back" wizard button. These identifiers will be used from the WizardContainer to determine, which page should be displayed when the "Next" wizard button is clicked and which when "Back" is clicked.
In the construction of an account registration wizard container the UI Service implementation could implement this interface to define a Default wizard page and a Summary page. Each AccountRegistrationWizard could obtain the identifier of both Default and Summary page from the corresponding AccountRegistrationWizardContainer, where it is added.
The predefined FINISH_PAGE_IDENTIFIER should be used to mark the end of a wizard.
| Field Summary | |
|---|---|
static String |
DEFAULT_PAGE_IDENTIFIER
The identifier of the default wizard page. |
static String |
FINISH_PAGE_IDENTIFIER
The identifier of the last wizard page. |
static String |
SUMMARY_PAGE_IDENTIFIER
The identifier of the summary wizard page. |
| Method Summary | |
|---|---|
void |
commitPage()
Invoked when user clicks on the "Next" wizard button. |
Object |
getBackPageIdentifier()
Returns the identifier of the previous wizard page. |
Object |
getIdentifier()
Returns the identifier of this WizardPage. |
Object |
getNextPageIdentifier()
Returns the identifier of the next wizard page. |
Object |
getWizardForm()
Returns the user interface form represented by this page. |
void |
pageBack()
Invoked when user clicks on the "Back" wizard button. |
void |
pageHiding()
Invoked when this WizardPage will be hidden eighter because the user has clicked "Back" or "Next". |
void |
pageShowing()
Invoked when this WizardPage will be shown eighter because the user has clicked "Back" on the next wizard page or "Next" on the previous one. |
void |
pageShown()
Invoked when this WizardPage is shown to the user and has become the current wizard page. |
| Field Detail |
|---|
static final String FINISH_PAGE_IDENTIFIER
static final String SUMMARY_PAGE_IDENTIFIER
static final String DEFAULT_PAGE_IDENTIFIER
At the time of this writing, it seems from its current uses that the constant indicates a null back page.
| Method Detail |
|---|
Object getIdentifier()
Object getNextPageIdentifier()
When this instance corresponds to the last page of the wizard this method should return WizardPage.FINISH_PAGE_IDENTIFIER
Object getBackPageIdentifier()
Object getWizardForm()
void pageHiding()
You should add here all operations you need to be executed when this WizardPage is about to be hidden.
void pageShown()
You should add here all operations you need to be executed when this WizardPage is shown.
void pageShowing()
You should add here all operations you need to be executed when this WizardPage is about to be shown.
void commitPage()
void pageBack()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||