Package com.install4j.api.launcher
Class ApplicationLauncher.ProgressListenerAdapter
java.lang.Object
com.install4j.api.launcher.ApplicationLauncher.ProgressListenerAdapter
- All Implemented Interfaces:
ApplicationLauncher.ProgressListener
- Enclosing class:
ApplicationLauncher
public static class ApplicationLauncher.ProgressListenerAdapter
extends Object
implements ApplicationLauncher.ProgressListener
Empty implementation of
ApplicationLauncher.ProgressListener
.
This can be used as a base class if only selected methods should be overridden.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionStarted
(String id) A new action has started its execution.void
detailMessage
(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
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
(String message) A status message was set in the progress interface.
-
Constructor Details
-
ProgressListenerAdapter
public ProgressListenerAdapter()
-
-
Method Details
-
screenActivated
Description copied from interface:ApplicationLauncher.ProgressListener
A new screen has been activated.- Specified by:
screenActivated
in interfaceApplicationLauncher.ProgressListener
- Parameters:
id
- the ID of the screen
-
actionStarted
Description copied from interface:ApplicationLauncher.ProgressListener
A new action has started its execution.- Specified by:
actionStarted
in interfaceApplicationLauncher.ProgressListener
- Parameters:
id
- the ID of the action
-
statusMessage
Description copied from interface:ApplicationLauncher.ProgressListener
A status message was set in the progress interface.- Specified by:
statusMessage
in interfaceApplicationLauncher.ProgressListener
- Parameters:
message
- the new message.
-
detailMessage
Description copied from interface:ApplicationLauncher.ProgressListener
A detail message was set In the progress interface. This message is shown below the status message.- Specified by:
detailMessage
in interfaceApplicationLauncher.ProgressListener
- Parameters:
message
- the new message.
-
percentCompleted
public void percentCompleted(int value) Description copied from interface:ApplicationLauncher.ProgressListener
The percentage of completion of the current action has changed.- Specified by:
percentCompleted
in interfaceApplicationLauncher.ProgressListener
- Parameters:
value
- a value between 0 and 100.
-
secondaryPercentCompleted
public void secondaryPercentCompleted(int value) Description copied from interface:ApplicationLauncher.ProgressListener
The percentage of completion of a secondary task, like the unpacking of a JAR file has changed.- Specified by:
secondaryPercentCompleted
in interfaceApplicationLauncher.ProgressListener
- Parameters:
value
- a value between 0 and 100.
-
indeterminateProgress
public void indeterminateProgress(boolean indeterminateProgress) Description copied from interface:ApplicationLauncher.ProgressListener
The indeterminate progress state has changed.- Specified by:
indeterminateProgress
in interfaceApplicationLauncher.ProgressListener
-