scriptella.interactive
Class ProgressIndicatorBase
java.lang.Object
scriptella.interactive.ProgressIndicatorBase
- All Implemented Interfaces:
- ProgressIndicator
- Direct Known Subclasses:
- ConsoleProgressIndicator, SwingProgressIndicator
public abstract class ProgressIndicatorBase
- extends java.lang.Object
- implements ProgressIndicator
TODO: Add documentation
- Version:
- 1.0
- Author:
- Fyodor Kupolov
|
Method Summary |
protected double |
getOutputThreshold()
|
protected void |
onComplete(java.lang.String label)
|
protected abstract void |
show(java.lang.String label,
double progress)
|
void |
showProgress(double progress,
java.lang.String message)
Invoked when script execution progress has been changed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressIndicatorBase
public ProgressIndicatorBase()
showProgress
public void showProgress(double progress,
java.lang.String message)
- Description copied from interface:
ProgressIndicator
- Invoked when script execution progress has been changed.
- Specified by:
showProgress in interface ProgressIndicator
- Parameters:
progress - progress value between 0 and 1 inclusive.message - completed event description.
getOutputThreshold
protected double getOutputThreshold()
show
protected abstract void show(java.lang.String label,
double progress)
onComplete
protected void onComplete(java.lang.String label)
Copyright © Copyright 2006-2009 The Scriptella Project Team.