|
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 |
java.lang.Object | +--oracle.bali.ewt.wizard.dWizard.ArraySequence
Implements a sequence of an array of wizard pages. In general, clients should use one ArraySequence for each group of pages, and compose those sequences together with SequenceSeries objects.
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.
DWizard
,
SequenceSeries
Constructor Summary | |
ArraySequence(WizardPage[] pages)
Creates a new array sequence. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArraySequence(WizardPage[] pages)
java.lang.IllegalArgumentException
- if the pages array is null or emptyMethod Detail |
public void goToFirstPage()
goToFirstPage
in interface WizardSequence
public void goToLastPage()
goToLastPage
in interface WizardSequence
public void goForward()
goForward
in interface WizardSequence
java.util.NoSuchElementException
- if there are
no more pagespublic void goBackwards()
goBackwards
in interface WizardSequence
java.util.NoSuchElementException
- if there are
no more pagespublic WizardPage getNextPage()
getNextPage
in interface WizardSequence
public WizardPage getPreviousPage()
getPreviousPage
in interface WizardSequence
public WizardPage getCurrentPage()
getCurrentPage
in interface WizardSequence
public int getPageCount()
getPageCount
in interface WizardSequence
|
Oracle JEWT 4.2.24 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |