Package com.sun.interview
Interface Interview.Observer
-
- All Known Implementing Classes:
ServiceViewer
- Enclosing class:
- Interview
public static interface Interview.Observer
An observer interface for receiving notifications as the state of the interview is updated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
currentQuestionChanged(Question q)
Invoked when the current question in the interview has been changed.void
pathUpdated()
Invoked when the set of questions in the current path has been changed.
-
-
-
Method Detail
-
currentQuestionChanged
void currentQuestionChanged(Question q)
Invoked when the current question in the interview has been changed.- Parameters:
q
- the new current question
-
pathUpdated
void pathUpdated()
Invoked when the set of questions in the current path has been changed. This is normally because the response to one of the questions on the path has been changed, thereby causing a change to its successor questions.
-
-