|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jwalk.tool.QuestionMaster
public class QuestionMaster
QuestionMaster implements the question-response interaction with the tester. QuestionMaster is an implementation of the QuestionListener interface that is designed to work with the JWalkTester GUI. It handles Confirmation and Notification questions that require some kind of dialog with the tester.
Constructor Summary | |
---|---|
QuestionMaster(JWalkTester tester)
Creates a QuestionMaster owned by a JWalkTester. |
Method Summary | |
---|---|
protected Answer |
handle(Confirmation question)
Responds to a Confirmation question asked by a JWalker. |
protected Answer |
handle(Notification notice)
Responds to a Notification question asked by a JWalker. |
Answer |
respond(QuestionEvent event)
Responds to a question asked by a JWalker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuestionMaster(JWalkTester tester)
Method Detail |
---|
public Answer respond(QuestionEvent event)
respond
in interface QuestionListener
event
- the QuestionEvent dispatched by a JWalker.
protected Answer handle(Confirmation question)
question
- the Confirmation question.
protected Answer handle(Notification notice)
notice
- the Notification question.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |