|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectconstraint.LayeredConstraint
keyboard.constraint.PassOnSameText
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 |
| Constructor Summary | |
PassOnSameText()
|
|
| Method Summary | |
void |
doAction(TaskProperties tp)
Performs the constraint's action. |
int |
getLevel()
Returns the level of callback for this constraint. |
int[] |
getMonitoredKeyEvents()
Returns KEY_TYPED. |
| Methods inherited from class constraint.LayeredConstraint |
getIntValue, getMonitoredMouseEvents, getType, getValue, process, processInit, setValue, toString, valueContains |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PassOnSameText()
| Method Detail |
public int[] getMonitoredKeyEvents()
getMonitoredKeyEvents in class LayeredConstraintpublic int getLevel()
LayeredConstraint
getLevel in class LayeredConstraintpublic void doAction(TaskProperties tp)
LayeredConstraint
doAction in class LayeredConstraint
|
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.