|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectconstraint.ConstraintAdapter
keyboard.constraint.PassOnPositionAndTimer
Succeeds when the caret is in the correct position.
This constraint works with the keyboard training panel.
The value is the number representing the correct character position.
If the caret reaches the correct position, this constraint checks the
ERROR_DETECTED variable. If there was an error detected, the
task fails. Otherwise, the task succeeds.
The completion string produced by this constraint consists of the following tokens:
| Field Summary | |
static java.lang.String |
TIMER_EXPIRE
action key for timer expiring. |
| Constructor Summary | |
PassOnPositionAndTimer()
|
|
| Method Summary | |
void |
processActionEvent(java.awt.event.ActionEvent ev,
TaskProperties tp)
|
void |
processKeyEvent(java.awt.event.KeyEvent ev,
TaskProperties tp)
When key events get to the constraint, they have already been consumed. |
| Methods inherited from class constraint.ConstraintAdapter |
fireAutoAction, getIntValue, getType, getValue, process, processInit, processMouseEvent, setValue, splitPairs, startAutoAction, stopAutoAction, stringToRGB, toString, valueContains |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String TIMER_EXPIRE
| Constructor Detail |
public PassOnPositionAndTimer()
| Method Detail |
public void processKeyEvent(java.awt.event.KeyEvent ev,
TaskProperties tp)
ConstraintAdapter
processKeyEvent in class ConstraintAdapter
public void processActionEvent(java.awt.event.ActionEvent ev,
TaskProperties tp)
processActionEvent in class ConstraintAdapter
|
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.