|
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.PassOnSameTextAndTimer
Marks task as successful when the user text matches the target text.
This constraint works with the keyboard training panel.
If the value is "strict", the task fails if any other constraint noticed
a problem. Other constraints indicate problems by putting in a value for
the ERROR_DETECTED key in the task properties.
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 | |
PassOnSameTextAndTimer()
|
|
| 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 PassOnSameTextAndTimer()
| 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.