public abstract class AbstractSwingGuiCallback extends Object implements IGuiCallback
IGuiCallback.FormItemCANCEL_OPTION, NO_OPTION, OK_CANCEL_OPTION, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION| Constructor and Description |
|---|
AbstractSwingGuiCallback(Component parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
displayNonmodelMessage(String title,
String message) |
ExecutorService |
getBugUpdateExecutor()
Use this executor to queue bug collection updates without interfering
with the GUI.
|
InputStream |
getProgressMonitorInputStream(InputStream in,
int length,
String msg) |
void |
invokeInGUIThread(Runnable r) |
boolean |
isHeadless()
If true, do not open windows or browsers
|
int |
showConfirmDialog(String message,
String title,
String ok,
String cancel) |
boolean |
showDocument(URL u) |
List<String> |
showForm(String message,
String title,
List<IGuiCallback.FormItem> items) |
void |
showMessageDialog(String message) |
void |
showMessageDialogAndWait(String message) |
String |
showQuestionDialog(String message,
String title,
String defaultValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterCloud, setErrorMessage, unregisterCloudpublic AbstractSwingGuiCallback(Component parent)
public ExecutorService getBugUpdateExecutor()
IGuiCallbackgetBugUpdateExecutor in interface IGuiCallbackpublic void showMessageDialogAndWait(String message) throws InterruptedException
showMessageDialogAndWait in interface IGuiCallbackInterruptedExceptionpublic void showMessageDialog(String message)
showMessageDialog in interface IGuiCallbackpublic int showConfirmDialog(String message, String title, String ok, String cancel)
showConfirmDialog in interface IGuiCallbackpublic InputStream getProgressMonitorInputStream(InputStream in, int length, String msg)
getProgressMonitorInputStream in interface IGuiCallbackpublic void displayNonmodelMessage(String title, String message)
displayNonmodelMessage in interface IGuiCallbackpublic String showQuestionDialog(String message, String title, String defaultValue)
showQuestionDialog in interface IGuiCallbackpublic List<String> showForm(String message, String title, List<IGuiCallback.FormItem> items)
showForm in interface IGuiCallbackpublic boolean showDocument(URL u)
showDocument in interface IGuiCallbackpublic boolean isHeadless()
IGuiCallbackisHeadless in interface IGuiCallbackpublic void invokeInGUIThread(Runnable r)
invokeInGUIThread in interface IGuiCallbackCopyright © 2003–2015. All rights reserved.