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 java.lang.Object implements ApplicationLauncher.ProgressListener
Empty implementation ofApplicationLauncher.ProgressListener. This can be used as a base class if only selected methods should be overridden.
-
-
Constructor Summary
Constructors Constructor Description ProgressListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionStarted(java.lang.String id)A new action has started its execution.voiddetailMessage(java.lang.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.voidscreenActivated(java.lang.String id)A 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(java.lang.String message)A status message was set in the progress interface.
-
-
-
Method Detail
-
screenActivated
public void screenActivated(java.lang.String id)
Description copied from interface:ApplicationLauncher.ProgressListenerA new screen has been activated.- Specified by:
screenActivatedin interfaceApplicationLauncher.ProgressListener- Parameters:
id- the ID of the screen
-
actionStarted
public void actionStarted(java.lang.String id)
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
public void statusMessage(java.lang.String message)
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
public void detailMessage(java.lang.String message)
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
-
-