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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionStarted(String id) A new action has started its execution.voiddetailMessage(String message) A detail message was set In the progress interface.voidindeterminateProgress(boolean indeterminateProgress) The indeterminate progress state has changed.voidpercentCompleted(int value) The percentage of completion of the current action has changed.voidA new screen has been activated.voidsecondaryPercentCompleted(int value) The percentage of completion of a secondary task, like the unpacking of a JAR file has changed.voidstatusMessage(String message) A status message was set in the progress interface.
-
Constructor Details
-
ProgressListenerAdapter
public ProgressListenerAdapter()
-
-
Method Details
-
screenActivated
Description copied from interface:ApplicationLauncher.ProgressListenerA new screen has been activated.- Specified by:
screenActivatedin interfaceApplicationLauncher.ProgressListener- Parameters:
id- the ID of the screen
-
actionStarted
Description copied from interface:ApplicationLauncher.ProgressListenerA new action has started its execution.- Specified by:
actionStartedin interfaceApplicationLauncher.ProgressListener- Parameters:
id- the ID of the action
-
statusMessage
Description copied from interface:ApplicationLauncher.ProgressListenerA status message was set in the progress interface.- Specified by:
statusMessagein interfaceApplicationLauncher.ProgressListener- Parameters:
message- the new message.
-
detailMessage
Description copied from interface:ApplicationLauncher.ProgressListenerA detail message was set In the progress interface. This message is shown below the status message.- Specified by:
detailMessagein interfaceApplicationLauncher.ProgressListener- Parameters:
message- the new message.
-
percentCompleted
public void percentCompleted(int value) Description copied from interface:ApplicationLauncher.ProgressListenerThe percentage of completion of the current action has changed.- Specified by:
percentCompletedin interfaceApplicationLauncher.ProgressListener- Parameters:
value- a value between 0 and 100.
-
secondaryPercentCompleted
public void secondaryPercentCompleted(int value) Description copied from interface:ApplicationLauncher.ProgressListenerThe percentage of completion of a secondary task, like the unpacking of a JAR file has changed.- Specified by:
secondaryPercentCompletedin interfaceApplicationLauncher.ProgressListener- Parameters:
value- a value between 0 and 100.
-
indeterminateProgress
public void indeterminateProgress(boolean indeterminateProgress) Description copied from interface:ApplicationLauncher.ProgressListenerThe indeterminate progress state has changed.- Specified by:
indeterminateProgressin interfaceApplicationLauncher.ProgressListener
-