Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fluidsynth.api.settings
Class StringSetting  view StringSetting download StringSetting.java

java.lang.Object
  extended byorg.fluidsynth.api.settings.Setting
      extended byorg.fluidsynth.api.settings.StringSetting
Direct Known Subclasses:
RawStringSetting

public class StringSetting
extends Setting


Field Summary
 
Fields inherited from class org.fluidsynth.api.settings.Setting
 
Constructor Summary
StringSetting()
           
 
Method Summary
 java.lang.Object objectGet()
          Returns an object which represents the current value as a java object.
 void objectSet(java.lang.Object value)
          Given a java object, set the value of this option.
 java.lang.Object validate(java.lang.Object value)
          Validates the value and if valid, returns it unaltered.
 
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
 

Constructor Detail

StringSetting

public StringSetting()
Method Detail

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