public interface UnattendedProgressInterface
The user notification interface during unattended installations. By default, no progress information is shown during unattended installations. For each installer application, you can set the "Progress interface creation" script property in order to provide your own means of displaying progress information. For example, you might want to go to full-screen mode during update installers on dedicated special-purpose computers.
This class adds a few methods to the default ProgressInterface
interface that are only
relevant in unattended mode.
ProgressInterface
,
Context.getProgressInterface()
Field Summary |
---|
Fields inherited from interface com.install4j.api.context.ProgressInterface |
---|
OVERWRITE_ALL, OVERWRITE_NEVER, OVERWRITE_NO, OVERWRITE_YES, RETRY_CANCEL, RETRY_NO, RETRY_YES |
Method Summary | |
---|---|
boolean |
isAskForProxy()
Called if no internet connection is available for a download. |
void |
setCancelButtonEnabled(boolean enabled)
Called if the cancel button is enabled or disabled. |
void |
setCancelButtonVisible(boolean visible)
Called if the cancel button is made visible or invisible. |
void |
setVisible(boolean visible)
Called when the progress interface is created and destroyed. |
Methods inherited from interface com.install4j.api.context.ProgressInterface |
---|
askContinue, askOverwrite, askRetry, getPercentCompleted, setDetailMessage, setIndeterminateProgress, setPercentCompleted, setSecondaryPercentCompleted, setStatusMessage, showFailure |
Method Detail |
---|
void setVisible(boolean visible)
visible
- true at startup and false at exitvoid setCancelButtonEnabled(boolean enabled)
enabled
- true or falseWizardContext.setCancelButtonEnabled(boolean)
void setCancelButtonVisible(boolean visible)
visible
- true or falseWizardContext.setCancelButtonVisible(boolean)
boolean isAskForProxy()