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

Method setWindow

ij/src/main/java/ij/WindowManager.java:448–453  ·  view source on GitHub ↗

The specified Window becomes the front window.

(Window win)

Source from the content-addressed store, hash-verified

446
447 /** The specified Window becomes the front window. */
448 public static void setWindow(Window win) {
449 //System.out.println("setWindow(W): "+win);
450 frontWindow = win;
451 if (win instanceof Frame)
452 frontFrame = (Frame)win;
453 }
454
455 /** The specified frame becomes the front window, the one returnd by getFrontWindow(). */
456 @AstroImageJ(reason = "Support MeasurementsWindow", modified = true)

Callers 15

selectWindowMethod · 0.95
setCurrentWindowMethod · 0.95
removeWindowMethod · 0.95
toFrontMethod · 0.95
windowActivatedMethod · 0.95
windowActivatedMethod · 0.95
focusGainedMethod · 0.95
createMethod · 0.95
displayMethod · 0.95
windowActivatedMethod · 0.95
windowActivatedMethod · 0.95
windowActivatedMethod · 0.95

Calls 2

getTitleMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected