public abstract class AbstractSwingGuiCallback extends java.lang.Object implements IGuiCallback
IGuiCallback.FormItem
CANCEL_OPTION, NO_OPTION, OK_CANCEL_OPTION, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION
Constructor and Description |
---|
AbstractSwingGuiCallback(java.awt.Component parent) |
Modifier and Type | Method and Description |
---|---|
void |
displayNonmodelMessage(java.lang.String title,
java.lang.String message) |
java.util.concurrent.ExecutorService |
getBugUpdateExecutor()
Use this executor to queue bug collection updates without interfering
with the GUI.
|
java.io.InputStream |
getProgressMonitorInputStream(java.io.InputStream in,
int length,
java.lang.String msg) |
void |
invokeInGUIThread(java.lang.Runnable r) |
boolean |
isHeadless()
If true, do not open windows or browsers
|
int |
showConfirmDialog(java.lang.String message,
java.lang.String title,
java.lang.String ok,
java.lang.String cancel) |
boolean |
showDocument(java.net.URL u) |
java.util.List<java.lang.String> |
showForm(java.lang.String message,
java.lang.String title,
java.util.List<IGuiCallback.FormItem> items) |
void |
showMessageDialog(java.lang.String message) |
void |
showMessageDialogAndWait(java.lang.String message) |
java.lang.String |
showQuestionDialog(java.lang.String message,
java.lang.String title,
java.lang.String defaultValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
registerCloud, setErrorMessage, unregisterCloud
public AbstractSwingGuiCallback(java.awt.Component parent)
public java.util.concurrent.ExecutorService getBugUpdateExecutor()
IGuiCallback
getBugUpdateExecutor
in interface IGuiCallback
public void showMessageDialogAndWait(java.lang.String message) throws java.lang.InterruptedException
showMessageDialogAndWait
in interface IGuiCallback
java.lang.InterruptedException
public void showMessageDialog(java.lang.String message)
showMessageDialog
in interface IGuiCallback
public int showConfirmDialog(java.lang.String message, java.lang.String title, java.lang.String ok, java.lang.String cancel)
showConfirmDialog
in interface IGuiCallback
public java.io.InputStream getProgressMonitorInputStream(java.io.InputStream in, int length, java.lang.String msg)
getProgressMonitorInputStream
in interface IGuiCallback
public void displayNonmodelMessage(java.lang.String title, java.lang.String message)
displayNonmodelMessage
in interface IGuiCallback
public java.lang.String showQuestionDialog(java.lang.String message, java.lang.String title, java.lang.String defaultValue)
showQuestionDialog
in interface IGuiCallback
public java.util.List<java.lang.String> showForm(java.lang.String message, java.lang.String title, java.util.List<IGuiCallback.FormItem> items)
showForm
in interface IGuiCallback
public boolean showDocument(java.net.URL u)
showDocument
in interface IGuiCallback
public boolean isHeadless()
IGuiCallback
isHeadless
in interface IGuiCallback
public void invokeInGUIThread(java.lang.Runnable r)
invokeInGUIThread
in interface IGuiCallback
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.