- java.lang.Object
-
- bdv.tools.CloseWindowActions
-
public class CloseWindowActions extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloseWindowActions.Descriptions
-
Field Summary
Fields Modifier and Type Field Description static StringCLOSE_DIALOGstatic String[]CLOSE_DIALOG_KEYSstatic StringCLOSE_WINDOWstatic String[]CLOSE_WINDOW_KEYS
-
Constructor Summary
Constructors Constructor Description CloseWindowActions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinstall(org.scijava.ui.behaviour.util.Actions actions, JDialog dialog)Create a close dialog action and install it in the specifiedActions.static voidinstall(org.scijava.ui.behaviour.util.Actions actions, JFrame frame)Create a close window action and install it in the specifiedActions.
-
-
-
Field Detail
-
CLOSE_WINDOW
public static final String CLOSE_WINDOW
- See Also:
- Constant Field Values
-
CLOSE_DIALOG
public static final String CLOSE_DIALOG
- See Also:
- Constant Field Values
-
CLOSE_WINDOW_KEYS
public static final String[] CLOSE_WINDOW_KEYS
-
CLOSE_DIALOG_KEYS
public static final String[] CLOSE_DIALOG_KEYS
-
-
Method Detail
-
install
public static void install(org.scijava.ui.behaviour.util.Actions actions, JFrame frame)
Create a close window action and install it in the specifiedActions.- Parameters:
actions- Actions are added here.frame- Actions are targeted at this window.
-
install
public static void install(org.scijava.ui.behaviour.util.Actions actions, JDialog dialog)
Create a close dialog action and install it in the specifiedActions.- Parameters:
actions- Actions are added here.dialog- Actions are targeted at this dialog.
-
-