|
Oracle JEWT API Reference Release 4.2.24.0.0 B12199-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WizardSequence interface provides the abstraction that the DWizard class uses to navigate among wizard pages. Several default implementations are provided. In general, clients won't use a single WizardSequence implementation, but compose several sequences together (for example, by using the SequenceSeries class) into a larger whole.
Clients that need to pick a sequence dynamically at runtime may find the DynamicSequence class useful.
WizardSequences cannot be shared among multiple running wizards, but they can be shared among multiple wizards as long as no two will be running (i.e., visible) at the same time. WizardSequences can even be used more than once in a single wizard.
DWizard
,
ArraySequence
,
NullSequence
,
SequenceSeries
,
DynamicSequence
Method Summary | |
WizardPage |
getCurrentPage()
Returns the current page of the wizard sequence. |
WizardPage |
getNextPage()
Returns the page immediately after the current page, or null if there are no more pages. |
int |
getPageCount()
Returns the number of pages in this sequence. |
WizardPage |
getPreviousPage()
Returns the page immediately before the current page, or null if there are no more pages. |
void |
goBackwards()
Moves the sequence back to its previous page. |
void |
goForward()
Advances the sequence to its next page. |
void |
goToFirstPage()
Returns the sequence to its first page. |
void |
goToLastPage()
Returns the sequence to its last page |
Method Detail |
public void goToFirstPage()
public void goToLastPage()
public void goForward()
java.util.NoSuchElementException
- if there are
no more pagespublic void goBackwards()
java.util.NoSuchElementException
- if there are
no more pagespublic WizardPage getNextPage()
public WizardPage getPreviousPage()
public WizardPage getCurrentPage()
public int getPageCount()
|
Oracle JEWT 4.2.24 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |