|
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.ShowCorrectTyping
Echos the user's keystrokes to the user text only if the keystrokes match the target text.
This constraint works with the keyboard training panel.
If the value is "nodelete", then this constraint ignores delete and backspace.
Otherwise, this constraint allows delete and backspace provided the characters being
deleted are wrong.
This constraint sets the ERROR_DETECTED value in the
task properties map, but allows the task to continue.
NOTE: This constraint only monitors actual typing and not other changes made to
the user text.
When reporting errors, this constraint uses the following format:
| Field Summary |
| Constructor Summary | |
ShowCorrectTyping()
|
|
| Method Summary | |
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, processActionEvent, 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 |
| Constructor Detail |
public ShowCorrectTyping()
| Method Detail |
public void processKeyEvent(java.awt.event.KeyEvent ev,
TaskProperties tp)
ConstraintAdapter
processKeyEvent 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.