java.lang.Object
org.fluidsynth.api.settings.Setting
org.fluidsynth.api.settings.StringSetting
- Direct Known Subclasses:
- RawStringSetting
- public class StringSetting
- extends Setting
| 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, merge, setCommandLineOption, setDefaultValue, setName, setRealtime, setSettings, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSetting
public StringSetting()
objectGet
public java.lang.Object objectGet()
- Description copied from class:
Setting
- Returns an object which represents the current value as a java
object. For example, a BooleanSetting.objectGet() returns a
java.lang.Boolean, IntegerSetting.objectGet() returns a
java.lang.Integer, etc.
- Specified by:
objectGet in class Setting
objectSet
public void objectSet(java.lang.Object value)
throws java.lang.IllegalArgumentException
- Description copied from class:
Setting
- Given a java object, set the value of this option.
- Specified by:
objectSet in class Setting
validate
public java.lang.Object validate(java.lang.Object value)
throws java.lang.IllegalArgumentException
- Description copied from class:
Setting
- Validates the value and if valid, returns it unaltered. Throws
IllegalArgumentException if the object is not valid.
- Specified by:
validate in class Setting