Package com.install4j.api.context
Interface UnattendedProgressInterface
- All Superinterfaces:
ProgressInterface
- All Known Implementing Classes:
DefaultUnattendedProgressInterface
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 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.
- See Also:
-
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
Modifier and TypeMethodDescriptiondefault boolean
Deprecated.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, isAlertsShown, isUnattendedProgressDialog, setDetailMessage, setIndeterminateProgress, setPercentCompleted, setSecondaryPercentCompleted, setStatusMessage, showFailure
-
Method Details
-
setVisible
void setVisible(boolean visible) Called when the progress interface is created and destroyed. At startup, this method is called with a parameter oftrue
, at exit it is called with a parameter offalse
. You should use this method for the lif-cycle of a window or similar resources.- Parameters:
visible
-true
at startup andfalse
at exit
-
setCancelButtonEnabled
void setCancelButtonEnabled(boolean enabled) Called if the cancel button is enabled or disabled.- Parameters:
enabled
-true
orfalse
- See Also:
-
setCancelButtonVisible
void setCancelButtonVisible(boolean visible) Called if the cancel button is made visible or invisible.- Parameters:
visible
-true
orfalse
- See Also:
-
isAskForProxy
Deprecated.
-