public interface WizardContext
The wizard context allows you to modify the GUI installer or uninstaller. It is returned by
Context.getWizardContext()
and is only available if the installer or uninstaller
is running in GUI mode.
Context.getWizardContext()
Method Summary | |
---|---|
void |
focusNextButton()
Transfer the focus the Next button. |
void |
pressCancelButton()
Cancel the installer or uninstaller. |
void |
pressNextButton()
Move to the next screen. |
void |
pressPreviousButton()
Move to the previous screen. |
void |
setBackButtonEnabled(boolean enabled)
Change the enabled status of the "Back" button at the bottom of the current screen. |
void |
setBackButtonVisible(boolean enabled)
Change the visibility of the "Back" button at the bottom of the current screen. |
void |
setCancelButtonEnabled(boolean enabled)
Change the enabled status of the "Cancel" button at the bottom of the current screen. |
void |
setCancelButtonText(java.lang.String text)
Set the text on the "Cancel" button. |
void |
setCancelButtonVisible(boolean enabled)
Change the visibility of the "Cancel" button at the bottom of the current screen. |
void |
setNextButtonEnabled(boolean enabled)
Change the enabled status of the "Next" button at the bottom of the current screen. |
void |
setNextButtonText(java.lang.String text)
Set the text on the "Next" button. |
void |
setNextButtonVisible(boolean enabled)
Change the visibility of the "Next" button at the bottom of the current screen. |
void |
setPreviousButtonText(java.lang.String text)
Set the text on the "Previous" button. |
Method Detail |
---|
void setNextButtonEnabled(boolean enabled)
enabled
- if the button should be enabled or notvoid setBackButtonEnabled(boolean enabled)
enabled
- if the button should be enabled or notvoid setCancelButtonEnabled(boolean enabled)
enabled
- if the button should be enabled or notvoid setNextButtonVisible(boolean enabled)
enabled
- if the button should be enabled or notvoid setBackButtonVisible(boolean enabled)
enabled
- if the button should be enabled or notvoid setCancelButtonVisible(boolean enabled)
enabled
- if the button should be enabled or notvoid pressNextButton()
void pressPreviousButton()
void pressCancelButton()
void focusNextButton()
void setNextButtonText(java.lang.String text)
text
- the new textvoid setPreviousButtonText(java.lang.String text)
text
- the new textvoid setCancelButtonText(java.lang.String text)
text
- the new text