de.scheisseichfindemalkeinen.settings.options
Class OptionInt

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

public class OptionInt
extends Option

Int Option


Constructor Summary
OptionInt(java.lang.String path)
          Constructor
 
Method Summary
 int getMaxValue()
          Returns the Max Value
 int getMinValue()
          Returns the Min Value
 int getValue()
          Returns the Value
 void setMaxValue(int maxValue)
          Sets the Max Value
 void setMinValue(int minValue)
          Sets the Min Value
 void setValue(int 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

OptionInt

public OptionInt(java.lang.String path)
Constructor

Parameters:
path - Path
Method Detail

getValue

public int getValue()
Returns the Value

Returns:
Value

setValue

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

Parameters:
value - Value
Throws:
OptionException

getMinValue

public int getMinValue()
Returns the Min Value

Returns:
Min Value

setMinValue

public void setMinValue(int minValue)
Sets the Min Value

Parameters:
minValue - Min Value

getMaxValue

public int getMaxValue()
Returns the Max Value

Returns:
Max Value

setMaxValue

public void setMaxValue(int maxValue)
Sets the Max Value

Parameters:
maxValue - Max Value