uk.ac.ed.paxinos3d
Class Model.TaskStatus

java.lang.Object
  extended by uk.ac.ed.paxinos3d.Model.TaskStatus
Enclosing class:
Model

public class Model.TaskStatus
extends Object


Field Summary
protected  int current_step
           
protected  String description
           
protected  String name
           
protected  int number_of_steps
           
protected  Model.TaskProgress task_progress
           
protected  Model.TaskType task_type
           
 
Constructor Summary
Model.TaskStatus()
           
 
Method Summary
 void endTask(String description)
           
 int getCurrentStep()
           
 String getDescription()
           
 String getName()
           
 int getNumberOfSteps()
           
 float getPercentageCompleted()
           
 Model.TaskProgress getTaskProgress()
           
 Model.TaskType getTaskType()
           
 void startCompoundTask(String name, String description, int number_of_steps)
           
 void startSimpleTask(String name, String description)
           
 void updateCompoundTask(String description, int current_step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Model.TaskStatus

public Model.TaskStatus()
Method Detail

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()