de.scheisseichfindemalkeinen.settings.options
Class OptionShort

java.lang.Object
  extended by de.scheisseichfindemalkeinen.settings.options.Option
      extended by de.scheisseichfindemalkeinen.settings.options.OptionShort

public class OptionShort
extends Option

Short Option


Constructor Summary
OptionShort(java.lang.String path)
          Constructor
 
Method Summary
 long getMaxValue()
          Returns the Max Value
 long getMinValue()
          Returns the Min Value
 short getValue()
          Returns the Value
 void setMaxValue(short maxValue)
          Sets the Max Value
 void setMinValue(short minValue)
          Sets the Min Value
 void setValue(short value)
          Sets the Value
 
Methods inherited from class de.scheisseichfindemalkeinen.settings.options.Option
checkType, getNewOptionByClass, getPath, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionShort

public OptionShort(java.lang.String path)
Constructor

Parameters:
path - Path
Method Detail

getValue

public short getValue()
Returns the Value

Returns:
Value

setValue

public void setValue(short value)
              throws OptionException
Sets the Value

Parameters:
value - Value
Throws:
OptionException

getMinValue

public long getMinValue()
Returns the Min Value

Returns:
Min Value

setMinValue

public void setMinValue(short minValue)
Sets the Min Value

Parameters:
minValue - Min Value

getMaxValue

public long getMaxValue()
Returns the Max Value

Returns:
Max Value

setMaxValue

public void setMaxValue(short maxValue)
Sets the Max Value

Parameters:
maxValue - Max Value