com.ibm.etools.iseries.subsystems.qsys.resources.dialogs
Class QuestionAndAnswer
java.lang.Object
com.ibm.etools.iseries.subsystems.qsys.resources.dialogs.QuestionAndAnswer
- All Implemented Interfaces:
- Runnable
public class QuestionAndAnswer
- extends Object
- implements Runnable
A general-purpose way of asking the user a question and retaining the answer.
Intended for use by non-GUI threads.
Method Summary |
boolean |
isYes()
|
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static String copyright
QuestionAndAnswer
public QuestionAndAnswer(Shell shell,
SystemMessage message)
run
public void run()
- Specified by:
run
in interface Runnable
isYes
public boolean isYes()
throws Exception
- Throws:
Exception
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.