public class JDialog
extends java.lang.Object
javax.swing.JDialog.
Default replacement for ReplaceCallAgent. Replacement should be
specified in "resources/default-replacements.txt"
| Constructor and Description |
|---|
JDialog()
Creates a (mock) JDialog.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
pack(javax.swing.JDialog dialog)
Mock of
javax.swing.JDialog.pack() to avoid triggering display events. |
static void |
requestFocus(javax.swing.JDialog dialog)
Mock of method
javax.swing.JDialog.requestFocus() to prevent component getting focus. |
static void |
setVisible(javax.swing.JDialog dialog,
boolean visible)
Mock of
javax.swing.JDialog.setVisible(boolean) to avoid triggering display events. |
static void |
show(javax.swing.JDialog dialog)
Mock of
javax.swing.JDialog.show() to avoid triggering display events. |
static void |
show(javax.swing.JDialog dialog,
boolean visible)
Mock of
javax.swing.JDialog.show(boolean) to avoid triggering display events. |
static void |
toFront(javax.swing.JDialog dialog)
Mock of
javax.swing.JDialog.toFront() to avoid scenario where a window could assume
focus by moving to the front (this only applies to some windowing systems). |
public static void pack(javax.swing.JDialog dialog)
javax.swing.JDialog.pack() to avoid triggering display events.dialog - the dialog that should not be displayedpublic static void setVisible(javax.swing.JDialog dialog,
boolean visible)
javax.swing.JDialog.setVisible(boolean) to avoid triggering display events.dialog - the dialog that should not be displayedvisible - the visibility state flag, ignored by this methodpublic static void show(javax.swing.JDialog dialog,
boolean visible)
javax.swing.JDialog.show(boolean) to avoid triggering display events.dialog - the dialog that should not be displayedvisible - the visibility state flag, ignored by this methodpublic static void show(javax.swing.JDialog dialog)
javax.swing.JDialog.show() to avoid triggering display events.dialog - the dialog that should not be displayedpublic static void toFront(javax.swing.JDialog dialog)
javax.swing.JDialog.toFront() to avoid scenario where a window could assume
focus by moving to the front (this only applies to some windowing systems).dialog - the dialog that shouldn't assume focuspublic static void requestFocus(javax.swing.JDialog dialog)
javax.swing.JDialog.requestFocus() to prevent component getting focus.dialog - the dialog that should not receive focus