public class JComponent
extends java.lang.Object
javax.swing.JComponent.
Default replacement for ReplaceCallAgent. Replacement should be
specified in "resources/default-replacements.txt"
| Constructor and Description |
|---|
JComponent()
Creates a (mock) JComponent.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
requestFocus(javax.swing.JComponent component)
Mock of method
javax.swing.JComponent.requestFocus() to prevent component getting
focus. |
static void |
requestFocus(javax.swing.JComponent component,
boolean temporary)
Mock of method
javax.swing.JComponent.requestFocus() to prevent component getting
focus. |
static void |
setVisible(javax.swing.JComponent component,
boolean visible) |
static void |
show(javax.swing.JComponent component) |
static void |
show(javax.swing.JComponent component,
boolean visible) |
public static void setVisible(javax.swing.JComponent component,
boolean visible)
public static void show(javax.swing.JComponent component,
boolean visible)
public static void show(javax.swing.JComponent component)
public static void requestFocus(javax.swing.JComponent component)
javax.swing.JComponent.requestFocus() to prevent component getting
focus.component - the component that should not receive focuspublic static void requestFocus(javax.swing.JComponent component,
boolean temporary)
javax.swing.JComponent.requestFocus() to prevent component getting
focus.component - the component that should not receive focustemporary - flag that indicates that focus should be temporary (ignored)