Package com.install4j.api.launcher
Interface ApplicationLauncher.ProgressListener
-
- All Known Implementing Classes:
ApplicationLauncher.ProgressListenerAdapter
- Enclosing class:
- ApplicationLauncher
public static interface ApplicationLauncher.ProgressListener
You can implement this interface to receive progress information from the installer application. An instance of this class has to be returned byApplicationLauncher.Callback.createProgressListener()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
actionStarted(java.lang.String id)
A new action has started its execution.void
detailMessage(java.lang.String message)
A detail message was set In the progress interface.void
indeterminateProgress(boolean indeterminateProgress)
The indeterminate progress state has changed.void
percentCompleted(int value)
The percentage of completion of the current action has changed.void
screenActivated(java.lang.String id)
A new screen has been activated.void
secondaryPercentCompleted(int value)
The percentage of completion of a secondary task, like the unpacking of a JAR file has changed.void
statusMessage(java.lang.String message)
A status message was set in the progress interface.
-
-
-
Method Detail
-
screenActivated
void screenActivated(java.lang.String id)
A new screen has been activated.- Parameters:
id
- the ID of the screen
-
actionStarted
void actionStarted(java.lang.String id)
A new action has started its execution.- Parameters:
id
- the ID of the action
-
statusMessage
void statusMessage(java.lang.String message)
A status message was set in the progress interface.- Parameters:
message
- the new message.
-
detailMessage
void detailMessage(java.lang.String message)
A detail message was set In the progress interface. This message is shown below the status message.- Parameters:
message
- the new message.
-
percentCompleted
void percentCompleted(int value)
The percentage of completion of the current action has changed.- Parameters:
value
- a value between 0 and 100.
-
secondaryPercentCompleted
void secondaryPercentCompleted(int value)
The percentage of completion of a secondary task, like the unpacking of a JAR file has changed.- Parameters:
value
- a value between 0 and 100.
-
indeterminateProgress
void indeterminateProgress(boolean indeterminateProgress)
The indeterminate progress state has changed.
-
-