public class ProgressControl
extends java.lang.Object
ProgressControl
class controls the progress of configuration files loading.Constructor and Description |
---|
ProgressControl()
Initializes a newly created empty
ProgressControl . |
Modifier and Type | Method and Description |
---|---|
static void |
addStatMessage(java.lang.String statMessage) |
int |
getCurrent()
Called from
ProgressBar to find out how much has been done. |
ConfigData |
getData()
Returns editor data structure loaded from configuration files.
|
java.lang.String |
getErrorMessage()
Returns the error message.
|
java.lang.String |
getMessage()
Returns the most recent status message.
|
void |
go()
Launches the thread which loads configuration files.
|
boolean |
isCanceled()
Called from
ProgressBar to find out if the task is canceled. |
boolean |
isDone()
Called from
ProgressBar to find out if the task has completed. |
public ProgressControl()
ProgressControl
.public ConfigData getData()
public void go()
public int getCurrent()
ProgressBar
to find out how much has been done.public boolean isDone()
ProgressBar
to find out if the task has completed.public boolean isCanceled()
ProgressBar
to find out if the task is canceled.public java.lang.String getMessage()
public java.lang.String getErrorMessage()
public static void addStatMessage(java.lang.String statMessage)