public class CloseWindowActions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CloseWindowActions.Descriptions |
| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSE_DIALOG |
static String[] |
CLOSE_DIALOG_KEYS |
static String |
CLOSE_WINDOW |
static String[] |
CLOSE_WINDOW_KEYS |
| Constructor and Description |
|---|
CloseWindowActions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
install(org.scijava.ui.behaviour.util.Actions actions,
JDialog dialog)
Create a close dialog action and install it in the specified
Actions. |
static void |
install(org.scijava.ui.behaviour.util.Actions actions,
JFrame frame)
Create a close window action and install it in the specified
Actions. |
public static final String CLOSE_WINDOW
public static final String CLOSE_DIALOG
public static final String[] CLOSE_WINDOW_KEYS
public static final String[] CLOSE_DIALOG_KEYS
public static void install(org.scijava.ui.behaviour.util.Actions actions, JFrame frame)
Actions.actions - Actions are added here.frame - Actions are targeted at this window.public static void install(org.scijava.ui.behaviour.util.Actions actions, JDialog dialog)
Actions.actions - Actions are added here.dialog - Actions are targeted at this dialog.Copyright © 2012–2025 BigDataViewer. All rights reserved.