src/main/java/ca/phon/plugins/praat/SpectrogramSettings.java
/**
	 * Save these settings as custom defaults.
	 * 
	 * 
	 */
Save these settings as custom defaults.
Save these settings as custom defaults .
public void saveAsDefaults() {
		final Preferences prefs = PrefHelper.getUserPreferences();
		prefs.putDouble(DYNAMIC_COMPRESSION_PROP, getDynamicCompression());
		prefs.putDouble(DYNAMIC_RANGE_PROP, getDynamicRange());
		prefs.putDouble(FREQUENCY_STEP_PROP, getFrequencyStep());
		prefs.putDouble(MAX_FREQUENCY_PROP, getMaxFrequency());
		prefs.putDouble(PREEMPHASIS_PROP, getPreEmphasis());
		prefs.putDouble(TIME_STEP_PROP, getTimeStep());
		prefs.putDouble(WINDOW_LENGTH_PROP, getWindowLength());
		prefs.putInt(WINDOW_SHAPE_PROP, getWindowShape().ordinal());
	}
public void saveAsDefaults ( ) { final Preferences prefs = PrefHelper . getUserPreferences ( ) ; prefs . putDouble ( DYNAMIC_COMPRESSION_PROP , getDynamicCompression ( ) ) ; prefs . putDouble ( DYNAMIC_RANGE_PROP , getDynamicRange ( ) ) ; prefs . putDouble ( FREQUENCY_STEP_PROP , getFrequencyStep ( ) ) ; prefs . putDouble ( MAX_FREQUENCY_PROP , getMaxFrequency ( ) ) ; prefs . putDouble ( PREEMPHASIS_PROP , getPreEmphasis ( ) ) ; prefs . putDouble ( TIME_STEP_PROP , getTimeStep ( ) ) ; prefs . putDouble ( WINDOW_LENGTH_PROP , getWindowLength ( ) ) ; prefs . putInt ( WINDOW_SHAPE_PROP , getWindowShape ( ) . ordinal ( ) ) ; }
Save these settings as custom defaults.
Save these settings as custom defaults .