@MinDoc(copyright="Copyright 1998 - 2002, 2004, 2009 A. Weinert", author="Albrecht Weinert", version="as enclosing class AskDialog", lastModified="as enclosing class AskDialog", lastModifiedBy="as enclosing class AskDialog", usage="register and wait", purpose="forward user answer and timeout event") public static interface AskDialog.Listener
AskDialog.setVisible(String, String)
Modifier and Type | Method and Description |
---|---|
void |
askAnswered(int answer)
Event: a new answer is there.
|
void askAnswered(int answer)
AskDialog.Listener
registered will be called
(by AskDialog
) in a special helper thread and not in the
(graphical) event thread forwarding the user's response.AskDialog.multipleUse
is false (only if) immediately after this method
having been called the text response might be fetched by
AskDialog.getAnswerText()
or
AskDialog.getAnswerText(String, String, boolean)
.answer
- the actual response; see table at AskDialog.answer
AskDialog.answer
,
addListener()