|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcontroller.State
The State determines how the training program behaves inbetween drills, tasks, and skills. (Constraints determine how system behaves DURING drills and tasks)
| Field Summary | |
static java.lang.String |
STATE_DRILL
|
static java.lang.String |
STATE_PROGRESS
|
static java.lang.String |
STATE_STATUS
|
| Constructor Summary | |
State(Controller c,
SkillLattice sl,
Skill s)
|
|
| Method Summary | |
void |
endTask()
|
protected Controller |
getController()
|
protected Task |
getCurrentTask()
|
protected Skill |
getSkill()
|
protected SkillLattice |
getSkills()
|
abstract java.lang.String |
getStatus()
This method returns the name of the current skill, drill, etc. |
abstract void |
initialize()
This method should be called to init the state. |
void |
loadTask(Task t)
|
abstract void |
process(TaskProperties tp)
This method should be called to alert the state of possible new task properties. |
void |
resetProgress()
|
protected void |
setSkill(Skill s)
|
java.lang.String |
toString()
Returns the class name of the state. |
void |
updateProgress(Mastery criteria,
java.lang.String history)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.lang.String STATE_PROGRESS
public static java.lang.String STATE_STATUS
public static java.lang.String STATE_DRILL
| Constructor Detail |
public State(Controller c,
SkillLattice sl,
Skill s)
| Method Detail |
public abstract void initialize()
public abstract void process(TaskProperties tp)
public abstract java.lang.String getStatus()
public java.lang.String toString()
public final void endTask()
public final void loadTask(Task t)
public void updateProgress(Mastery criteria,
java.lang.String history)
public final void resetProgress()
protected final Controller getController()
protected final SkillLattice getSkills()
protected final Skill getSkill()
protected final Task getCurrentTask()
protected final void setSkill(Skill s)
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.