net.sf.clichart.main.cliserver
Class IntegerOptionSetterBase

java.lang.Object
  extended by net.sf.clichart.main.cliserver.AbstractOptionSetter
      extended by net.sf.clichart.main.cliserver.IntegerOptionSetterBase
All Implemented Interfaces:
OptionSetter
Direct Known Subclasses:
IntegerOptionSetter, IntOptionSetter

public abstract class IntegerOptionSetterBase
extends AbstractOptionSetter

Base class for option setters for Integer and int properties. Like IntOptionSetter (with whom it shares, but sets type as Integer

Author:
johnd

Constructor Summary
IntegerOptionSetterBase(java.lang.String setterName)
           
IntegerOptionSetterBase(java.lang.String setterName, int argument)
           
 
Method Summary
protected  void setValue(OptionsBean options, java.lang.reflect.Method method, java.lang.String command, java.lang.String argument)
           
 
Methods inherited from class net.sf.clichart.main.cliserver.AbstractOptionSetter
getParameterType, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerOptionSetterBase

public IntegerOptionSetterBase(java.lang.String setterName)

IntegerOptionSetterBase

public IntegerOptionSetterBase(java.lang.String setterName,
                               int argument)
Method Detail

setValue

protected void setValue(OptionsBean options,
                        java.lang.reflect.Method method,
                        java.lang.String command,
                        java.lang.String argument)
                 throws java.lang.IllegalAccessException,
                        InvalidOptionsException,
                        java.lang.reflect.InvocationTargetException
Specified by:
setValue in class AbstractOptionSetter
Throws:
java.lang.IllegalAccessException
InvalidOptionsException
java.lang.reflect.InvocationTargetException