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