public void setDefaultZoomFactor(float zoom) {
		float oldDefaultZoom = getDefaultZoomFactor();
		if (zoom == oldDefaultZoom) {
			return;
		}

		int idx = getIndexForLevel(ZOOM_LEVELS, zoom);
		defaultZoomFactor = ZOOM_LEVELS[idx];

		firePropertyChange(DEFAULT_ZOOM_PROPERTY, oldDefaultZoom, zoom);
	}
Set the default zoom level, adhering to the same set of constrains as {@link #setZoomFactor(float)}
@param zoom the zoom
@see #setZoomFactor(float)
@see #resetZoom()
Ghidra/Framework/Docking/src/main/java/docking/widgets/imagepanel/ImagePanel.java