Package scriptella.interactive
Class ProgressIndicatorBase
java.lang.Object
scriptella.interactive.ProgressIndicatorBase
- All Implemented Interfaces:
ProgressIndicator
- Direct Known Subclasses:
ConsoleProgressIndicator,SwingProgressIndicator
TODO: Add documentation
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleprotected voidonComplete(String label) protected abstract voidvoidshowProgress(double progress, String message) Invoked when script execution progress has been changed.
-
Constructor Details
-
ProgressIndicatorBase
public ProgressIndicatorBase()
-
-
Method Details
-
showProgress
Description copied from interface:ProgressIndicatorInvoked when script execution progress has been changed.- Specified by:
showProgressin interfaceProgressIndicator- Parameters:
progress- progress value between 0 and 1 inclusive.message- completed event description.
-
getOutputThreshold
protected double getOutputThreshold() -
show
-
onComplete
-