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