MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / windowClosing

Method windowClosing

ij/src/main/java/ij/gui/ImageWindow.java:683–693  ·  view source on GitHub ↗
(WindowEvent e)

Source from the content-addressed store, hash-verified

681 }
682
683 public void windowClosing(WindowEvent e) {
684 if (closed)
685 return;
686 if (ij!=null) {
687 WindowManager.setCurrentWindow(this);
688 IJ.doCommand("Close");
689 } else {
690 dispose();
691 WindowManager.removeWindow(this);
692 }
693 }
694
695 @AstroImageJ(reason = "Always maximize", modified = true)
696 public void windowStateChanged(WindowEvent e) {

Callers

nothing calls this directly

Calls 4

setCurrentWindowMethod · 0.95
doCommandMethod · 0.95
removeWindowMethod · 0.95
disposeMethod · 0.45

Tested by

no test coverage detected