public class ProgressCallback
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ProgressCallback.Subprogress |
Modifier and Type | Field and Description |
---|---|
protected int |
pos |
protected ProgressIndicator |
progressIndicator |
protected int |
size |
Constructor and Description |
---|
ProgressCallback(int size) |
ProgressCallback(int size,
ProgressIndicator indicator) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
ProgressCallback |
fork(int newSize) |
ProgressCallback |
fork(int step,
int newSize) |
int |
getLeft() |
int |
getPos() |
int |
getSize() |
boolean |
isComplete() |
void |
setProgressBar(ProgressIndicator progressIndicator) |
int |
step(int step) |
int |
step(int step,
java.lang.String message) |
protected int size
protected int pos
protected ProgressIndicator progressIndicator
public ProgressCallback(int size)
public ProgressCallback(int size, ProgressIndicator indicator)
public int step(int step)
public int step(int step, java.lang.String message)
public boolean isComplete()
public void complete()
public int getSize()
public int getPos()
public void setProgressBar(ProgressIndicator progressIndicator)
public ProgressCallback fork(int newSize)
public ProgressCallback fork(int step, int newSize)
public int getLeft()
Copyright © Copyright 2006-2019 The Scriptella Project Team.