|
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.PassOnCaretPositionAndButton
Succeeds when the button is pressed 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.
When the button is pressed, the caret position is read.
If the caret position is correct, the task ends successfully.
If the caret is not in the correct position, the task ends unsuccessfully.
The completion string produced by this constraint consists of the following tokens:
| Field Summary |
| Constructor Summary | |
PassOnCaretPositionAndButton()
|
|
| Method Summary | |
void |
processActionEvent(java.awt.event.ActionEvent ev,
TaskProperties tp)
|
| Methods inherited from class constraint.ConstraintAdapter |
fireAutoAction, getIntValue, getType, getValue, process, processInit, processKeyEvent, 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 PassOnCaretPositionAndButton()
| Method Detail |
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.