|
Oracle JEWT API Reference Release 4.2.33.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.NullSequence
Provides an implementation of an empty sequence, namely one that contains no pages. Obviously, NullSequences aren't useful as a sequence for an entire wizard, but they are essential as subsequences.
NullSequences are especially useful when used with DynamicSequences, where they can be used to indicate "skip over this sequence".
NullSequences are "singletons"; only one instance exists, and it can be reused in many sequences simultaneously.
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. |
static WizardSequence |
getWizardSequence()
Returns a shareable NullSequence instance. |
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 |
| Method Detail |
public static WizardSequence getWizardSequence()
public void goToFirstPage()
goToFirstPage in interface WizardSequencepublic void goToLastPage()
goToLastPage in interface WizardSequencepublic void goForward()
goForward in interface WizardSequencejava.util.NoSuchElementException - if there are
no more pagespublic void goBackwards()
goBackwards in interface WizardSequencejava.util.NoSuchElementException - if there are
no more pagespublic WizardPage getNextPage()
getNextPage in interface WizardSequencepublic WizardPage getPreviousPage()
getPreviousPage in interface WizardSequencepublic WizardPage getCurrentPage()
getCurrentPage in interface WizardSequencepublic int getPageCount()
getPageCount in interface WizardSequence
|
Oracle JEWT 4.2.33 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||