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

Method setMaxBounds

ij/src/main/java/ij/gui/ImageCanvas.java:840–849  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

838 }
839
840 void setMaxBounds() {
841 if (maxBoundsReset) {
842 maxBoundsReset = false;
843 ImageWindow win = imp.getWindow();
844 if (win!=null && !IJ.isLinux() && win.maxBounds!=null) {
845 win.setMaximizedBounds(win.maxBounds);
846 win.setMaxBoundsTime = System.currentTimeMillis();
847 }
848 }
849 }
850
851 void resetMaxBounds() {
852 ImageWindow win = imp.getWindow();

Callers 3

zoomOutMethod · 0.95
unzoomMethod · 0.95
StackWindowMethod · 0.80

Calls 2

isLinuxMethod · 0.95
getWindowMethod · 0.45

Tested by

no test coverage detected