public interface WizardContext
Context.getWizardContext()
and is only functional if the installer or uninstaller
is running in GUI mode.Context.getWizardContext()
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setWizardIndex(WizardIndex wizardIndex)
Install a wizard index on the left side of the window to show overall installation progress.
|
void |
setWizardIndexKey(java.lang.String key)
Change the highlighted step in the currently installed wizard index.
|
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 textvoid setWizardIndex(WizardIndex wizardIndex)
WizardIndex
for more information. The first step in the wizard index will
be highlighted immediately. This setting is not restricted to the current screen, it remains active for subsequent screens.
Note that a wizard index will not be shown on banner screens or on custom screens that return
false
in Screen.isShowIndex()
. Is is suggested to increase the
window width of your installer, if you use wizard indices.
wizardIndex
- the new wizard index or null
if the current wizard index should be removed.void setWizardIndexKey(java.lang.String key)
key
- the index key of the step that should be highlighted. If the key cannot be found
in the current wizard index, no step will be highlighted.