java.lang.Object
org.fluidsynth.api.settings.Setting
org.fluidsynth.api.settings.AbstractNumberSetting
- Direct Known Subclasses:
- IntegerSetting, NumberSetting
- public abstract class AbstractNumberSetting
- extends Setting
Parent of numeric settings, this class provides properties to handle min/max values.
| Fields inherited from class org.fluidsynth.api.settings.Setting |
|
| Methods inherited from class org.fluidsynth.api.settings.Setting |
commandLineArg, dirty, getCommandLineOption, getDefaultValue, getName, getRealtime, getValue, isRealtime, isUserModified, objectGet, objectSet, setCommandLineOption, setDefaultValue, setName, setRealtime, setSettings, setValue, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
minValueStr
java.lang.String minValueStr
maxValueStr
java.lang.String maxValueStr
AbstractNumberSetting
public AbstractNumberSetting()
merge
public void merge(Setting other)
- Description copied from class:
Setting
- Merge another setting into this one.
- Overrides:
merge in class Setting
setMinValue
public void setMinValue(java.lang.String minValueStr)
- Set the min value as a string.
getMinValue
public java.lang.String getMinValue()
- Get the min value as a string.
setMaxValue
public void setMaxValue(java.lang.String maxValueStr)
- Set the max value as a string.
getMaxValue
public java.lang.String getMaxValue()
- Get the max value as a string.
minValueSetImpl
protected abstract void minValueSetImpl(java.lang.String minValueStr)
- Subclasses override this to set the min value internally as a number.
maxValueSetImpl
protected abstract void maxValueSetImpl(java.lang.String maxValueStr)
- Subclasses override this to set the max value internally as a number.