|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcontroller.Controller
Determines the state and behaviors of the system.
| Field Summary | |
static java.lang.String |
APP_NAME
|
| Constructor Summary | |
Controller(Settings settings)
This constructor creates a Skill object with all the basic attributes. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addListener(Constraint l)
Adds the specified listener to the controller change and illegal button events. |
void |
block()
Blocks until the controller has stopped processing events or the current thread gets interrupted. |
Drill |
getDrill(Drill drill,
java.lang.String target)
Recursively tries to find a particular drill in the tree structure of drills starting with the given drill. |
Skill[] |
getPreReqs(Skill skill)
|
Skill |
getRecommendedSkill()
|
Skill |
getReviewSkill()
|
Settings |
getSettings()
|
Skill |
getSkill(java.lang.String name)
|
SkillLattice |
getSkills()
|
Skill[] |
getSkills(java.lang.String domain)
|
Skill |
getTargetSkill()
|
TaskProperties |
getTaskProperties()
|
Skill[] |
getUntrainedPreReqs(Skill skill)
|
TrainingDesktop |
getView()
Returns the visual component holder. |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
quit()
|
void |
removeListener(Constraint l)
Removes the specified listener from the queue for this controller. |
void |
setState(State s)
|
void |
setTargetSkill(Skill s)
|
void |
setTaskProperties(TaskProperties tp)
|
void |
start()
Starts queue. |
void |
stop()
Clears any queued actions and stops the action processor thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String APP_NAME
| Constructor Detail |
public Controller(Settings settings)
| Method Detail |
public void block()
public Skill[] getPreReqs(Skill skill)
public Skill[] getUntrainedPreReqs(Skill skill)
public Skill getRecommendedSkill()
public Skill getReviewSkill()
public Skill[] getSkills(java.lang.String domain)
public Drill getDrill(Drill drill,
java.lang.String target)
public Skill getSkill(java.lang.String name)
public void stop()
public void quit()
public void start()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListenerpublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenerpublic void addListener(Constraint l)
public void removeListener(Constraint l)
public TrainingDesktop getView()
public SkillLattice getSkills()
public Settings getSettings()
public void setState(State s)
public void setTaskProperties(TaskProperties tp)
public TaskProperties getTaskProperties()
public void setTargetSkill(Skill s)
public Skill getTargetSkill()
|
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.