88 |
*/ |
*/ |
89 |
public final static String DEFAULT_AUDIO_DRIVER = "defaultAudioDriver"; |
public final static String DEFAULT_AUDIO_DRIVER = "defaultAudioDriver"; |
90 |
|
|
91 |
|
/** Property which specifies whether the volume values should be shown in decibels. */ |
92 |
|
public final static String VOL_MEASUREMENT_UNIT_DECIBEL = "volMeasurementUnitDecibel"; |
93 |
|
|
94 |
|
|
95 |
private final String pathName; |
private final String pathName; |
96 |
private final Preferences userPrefs; |
private final Preferences userPrefs; |
314 |
* The default value is used when the property is not set. |
* The default value is used when the property is not set. |
315 |
* Override this method to provide custom default values for specific properties. |
* Override this method to provide custom default values for specific properties. |
316 |
* @param name The name of the property whose default value should be obtained. |
* @param name The name of the property whose default value should be obtained. |
|
* @return <code>false</code> |
|
317 |
* @see #getBoolProperty(String name) |
* @see #getBoolProperty(String name) |
318 |
*/ |
*/ |
319 |
public boolean |
public boolean |
320 |
getDefaultBoolValue(String name) { return false; } |
getDefaultBoolValue(String name) { |
321 |
|
if(name == VOL_MEASUREMENT_UNIT_DECIBEL) return true; |
322 |
|
return false; |
323 |
|
} |
324 |
} |
} |