uk.ac.ed.paxinos3d
Class Model.TaskStatus
java.lang.Object
uk.ac.ed.paxinos3d.Model.TaskStatus
- Enclosing class:
- Model
public class Model.TaskStatus
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
description
protected String description
task_type
protected Model.TaskType task_type
task_progress
protected Model.TaskProgress task_progress
number_of_steps
protected int number_of_steps
current_step
protected int current_step
Model.TaskStatus
public Model.TaskStatus()
startSimpleTask
public void startSimpleTask(String name,
String description)
startCompoundTask
public void startCompoundTask(String name,
String description,
int number_of_steps)
updateCompoundTask
public void updateCompoundTask(String description,
int current_step)
endTask
public void endTask(String description)
getName
public String getName()
getDescription
public String getDescription()
getTaskType
public Model.TaskType getTaskType()
getTaskProgress
public Model.TaskProgress getTaskProgress()
getNumberOfSteps
public int getNumberOfSteps()
getCurrentStep
public int getCurrentStep()
getPercentageCompleted
public float getPercentageCompleted()