|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WizardHost interface defines the host for a Wizard session. The Wizard can call back into the WizardHost to get the Browser context, set the 'Next' and "Finish' buttons enabled/disabled, as well as changing the total number of steps for the wizard on the fly as a user selects a different path through the wizard. The WizardHost also supplies access to a parent dialog for use when a Wizard wishes to display a model dialog.
Wizard
Method Summary | |
Browser |
getBrowser()
Returns the Browser instance that the hosted Wizard was launched from. |
java.awt.Dialog |
getDialogParent()
Returns the Dialog to use as a Parent for any pop-up dialogs. |
void |
setFinishEnabled(boolean enabled)
Sets the 'Finish' button enabled or disabled in the WizardHost. |
void |
setNextEnabled(boolean enabled)
Sets the 'Next' button enabled or disabled in the WizardHost. |
void |
setTotalSteps(int count)
Sets the total number of steps for the Wizard. |
Method Detail |
public Browser getBrowser()
public java.awt.Dialog getDialogParent()
public void setTotalSteps(int count)
count
- The new total number of steps for the Wizard. If the passed
value is less than the current step number, an
InvalidArgumentException is thrown.public void setNextEnabled(boolean enabled)
enabled
- True to enable the 'Next' button, false to disable it.public void setFinishEnabled(boolean enabled)
enabled
- True to enable the 'Finish' button, false to disable it.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |