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 |
focusControlButton(ControlButtonType controlButtonType)
Transfer the focus to a particular control button.
|
void |
focusNextButton()
Deprecated.
use
focusControlButton(ControlButtonType) with ControlButtonType.NEXT instead |
StyleManager |
getStyleManager()
Get the style manager.
|
void |
pressCancelButton()
Deprecated.
use
pressControlButton(ControlButtonType) with ControlButtonType.CANCEL instead |
void |
pressControlButton(ControlButtonType controlButtonType)
Perform the action associated with a particular control button.
|
void |
pressNextButton()
Deprecated.
use
pressControlButton(ControlButtonType) with ControlButtonType.NEXT instead |
void |
pressPreviousButton()
Deprecated.
use
pressControlButton(ControlButtonType) with ControlButtonType.PREVIOUS instead |
void |
setBackButtonEnabled(boolean enabled)
Deprecated.
|
void |
setBackButtonVisible(boolean visible)
Deprecated.
|
void |
setCancelButtonEnabled(boolean enabled)
Deprecated.
|
void |
setCancelButtonText(java.lang.String text)
Deprecated.
use
setControlButtonText(ControlButtonType, String) with ControlButtonType.CANCEL instead |
void |
setCancelButtonVisible(boolean visible)
Deprecated.
|
void |
setControlButtonEnabled(ControlButtonType controlButtonType,
boolean enabled)
Change the enabled status of control buttons on the current screen.
|
void |
setControlButtonText(ControlButtonType controlButtonType,
java.lang.String text)
Set the test of control buttons on the current screen.
|
void |
setControlButtonVisible(ControlButtonType controlButtonType,
boolean visible)
Change the visibility of control buttons on the current screen.
|
void |
setNextButtonEnabled(boolean enabled)
Deprecated.
|
void |
setNextButtonText(java.lang.String text)
Deprecated.
use
setControlButtonText(ControlButtonType, String) with ControlButtonType.NEXT instead |
void |
setNextButtonVisible(boolean visible)
Deprecated.
|
void |
setPreviousButtonText(java.lang.String text)
Deprecated.
|
void |
setWindowSize(int width,
int height)
Sets the size of the application window.
|
void |
setWindowTitle(java.lang.String title)
Sets the title of the application window.
|
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 setControlButtonEnabled(ControlButtonType controlButtonType, boolean enabled)
controlButtonType
- the type of the control buttonsenabled
- if the buttons should be enabled or notvoid setControlButtonVisible(ControlButtonType controlButtonType, boolean visible)
controlButtonType
- the type of the control buttonsvisible
- if the buttons should be visible or notvoid pressControlButton(ControlButtonType controlButtonType)
controlButtonType
- the type of the control buttonvoid focusControlButton(ControlButtonType controlButtonType)
controlButtonType
- the type of the control buttonvoid setControlButtonText(ControlButtonType controlButtonType, java.lang.String text)
controlButtonType
- the type of the control buttonstext
- the new text@Deprecated void setNextButtonEnabled(boolean enabled)
setControlButtonEnabled(ControlButtonType, boolean)
with ControlButtonType.NEXT
insteadenabled
- if the button should be enabled or not@Deprecated void setBackButtonEnabled(boolean enabled)
setControlButtonEnabled(ControlButtonType, boolean)
with ControlButtonType.PREVIOUS
insteadenabled
- if the button should be enabled or not@Deprecated void setCancelButtonEnabled(boolean enabled)
setControlButtonEnabled(ControlButtonType, boolean)
with ControlButtonType.CANCEL
insteadenabled
- if the button should be enabled or not@Deprecated void setNextButtonVisible(boolean visible)
setControlButtonVisible(ControlButtonType, boolean)
with ControlButtonType.NEXT
insteadvisible
- if the button should be visible or not@Deprecated void setBackButtonVisible(boolean visible)
setControlButtonVisible(ControlButtonType, boolean)
with ControlButtonType.PREVIOUS
insteadvisible
- if the button should be visible or not@Deprecated void setCancelButtonVisible(boolean visible)
setControlButtonVisible(ControlButtonType, boolean)
with ControlButtonType.CANCEL
insteadvisible
- if the button should be visible or not@Deprecated void pressNextButton()
pressControlButton(ControlButtonType)
with ControlButtonType.NEXT
instead@Deprecated void pressPreviousButton()
pressControlButton(ControlButtonType)
with ControlButtonType.PREVIOUS
instead@Deprecated void pressCancelButton()
pressControlButton(ControlButtonType)
with ControlButtonType.CANCEL
instead@Deprecated void focusNextButton()
focusControlButton(ControlButtonType)
with ControlButtonType.NEXT
instead@Deprecated void setNextButtonText(java.lang.String text)
setControlButtonText(ControlButtonType, String)
with ControlButtonType.NEXT
insteadtext
- the new text@Deprecated void setPreviousButtonText(java.lang.String text)
setControlButtonText(ControlButtonType, String)
with ControlButtonType.PREVIOUS
insteadtext
- the new text@Deprecated void setCancelButtonText(java.lang.String text)
setControlButtonText(ControlButtonType, String)
with ControlButtonType.CANCEL
insteadtext
- 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.
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.StyleManager getStyleManager()
void setWindowSize(int width, int height)
width
- the width of the windowheight
- the height of the windowvoid setWindowTitle(java.lang.String title)
title
- the title