com.raelity.jvi
Class StringOption

java.lang.Object
  extended by com.raelity.jvi.Option
      extended by com.raelity.jvi.StringOption

public class StringOption
extends Option


Nested Class Summary
static class StringOption.Validator
           
 
Nested classes/interfaces inherited from class com.raelity.jvi.Option
Option.ColorOption
 
Field Summary
 
Fields inherited from class com.raelity.jvi.Option
defaultValue, desc, displayName, fExpert, fHidden, fPropogate, name, stringValue, tags
 
Method Summary
 char charAt(int i)
           
 String getString()
           
 void setString(String newValue)
          Set the value of the parameter.
 void setValue(String newValue)
          Set the value as a string.
 void validate(String val)
          Validate the setting value.
 
Methods inherited from class com.raelity.jvi.Option
getBoolean, getColor, getDefault, getDesc, getDisplayName, getInteger, getName, getTags, getValue, initialize, isExpert, isHidden, propogate, setExpert, setHidden, validate, validate, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public final String getString()
Overrides:
getString in class Option

charAt

public final char charAt(int i)

setString

public void setString(String newValue)
Set the value of the parameter.


setValue

public void setValue(String newValue)
Set the value as a string.

Specified by:
setValue in class Option

validate

public void validate(String val)
              throws PropertyVetoException
Validate the setting value.

Overrides:
validate in class Option
Throws:
PropertyVetoException