Package scriptella.interactive
Class ProgressCallback
java.lang.Object
scriptella.interactive.ProgressCallback
- Direct Known Subclasses:
ProgressCallback.Subprogress
TODO: Add documentation
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProgressCallback(int size) ProgressCallback(int size, ProgressIndicator indicator) -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()fork(int newSize) fork(int step, int newSize) intgetLeft()intgetPos()intgetSize()booleanvoidsetProgressBar(ProgressIndicator progressIndicator) intstep(int step) int
-
Field Details
-
size
protected int size -
pos
protected int pos -
progressIndicator
-
-
Constructor Details
-
ProgressCallback
public ProgressCallback(int size) -
ProgressCallback
-
-
Method Details
-
step
public int step(int step) -
step
-
isComplete
public boolean isComplete() -
complete
public void complete() -
getSize
public int getSize() -
getPos
public int getPos() -
setProgressBar
-
fork
-
fork
-
getLeft
public int getLeft()
-