public class InputBlocker extends Object
| Constructor and Description |
|---|
InputBlocker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initialize()
Initializes this service.
|
static boolean |
isBlocked(Component component) |
static void |
setBlockAll(boolean block) |
static void |
setBlockSelected(boolean block) |
static void |
toggleBlockAll() |
static void |
toggleBlockSelected() |
static JComponent |
wrap(JComponent content,
boolean blocked)
Wraps the provided data panel into an input-filtering component.
|
public static void initialize()
public static JComponent wrap(JComponent content, boolean blocked)
content - Panel to be wrapped.blocked - True if filtering should be immediately activated.public static boolean isBlocked(Component component)
public static void setBlockSelected(boolean block)
public static void setBlockAll(boolean block)
public static void toggleBlockSelected()
public static void toggleBlockAll()
Copyright © 2023 LSST. All rights reserved.