|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectconstraint.ConstraintAdapter
test.constraint.CompleteTaskOnButton
This constraint listens for actions from the buttons of a component.
This constraint works with the SoundPanel.
It will set the task completed when one of the buttons are clicked.
The completion string produced by this constraint consists of the following tokens:
| Field Summary |
| Fields inherited from interface test.TestConstants |
ACTION_TYPE_MOVIE_FINISHED, BUTTON_ONE, BUTTON_TWO, IMAGE, MOVIE, MOVIE_IS_PLAYING, MOVIE_QUIT |
| Constructor Summary | |
CompleteTaskOnButton()
|
|
| Method Summary | |
void |
processActionEvent(java.awt.event.ActionEvent ev,
TaskProperties tp)
This method checks for button clicks from the SoundPanel (& MediaPanel) It will complete the task, only if no media is playing. |
| 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 CompleteTaskOnButton()
| 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.