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

Method freeze

ij/src/main/java/ij/gui/PlotWindow.java:1069–1073  ·  view source on GitHub ↗

Freezes the active plot window, so the image does not get redrawn for zooming, setting the range, etc.

()

Source from the content-addressed store, hash-verified

1067 /** Freezes the active plot window, so the image does not get redrawn for zooming,
1068 * setting the range, etc. */
1069 public static void freeze() {
1070 Window win = WindowManager.getActiveWindow();
1071 if (win!=null && (win instanceof PlotWindow))
1072 ((PlotWindow)win).getPlot().setFrozen(true);
1073 }
1074
1075 public static void setDefaultFontSize(int size) {
1076 if (size < 9) size = 9;

Callers

nothing calls this directly

Calls 3

getActiveWindowMethod · 0.95
setFrozenMethod · 0.80
getPlotMethod · 0.65

Tested by

no test coverage detected