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