com.cliffblaster.game.settings.handlers
Class BooleanSetting

java.lang.Object
  extended by com.cliffblaster.game.settings.handlers.BooleanSetting

public class BooleanSetting
extends java.lang.Object


Constructor Summary
BooleanSetting(java.lang.String title, java.lang.String property, boolean value)
           
 
Method Summary
 boolean getValue()
           
 void loadFromProperty(java.util.Properties properties)
           
 void setValue(boolean newValue)
           
 void storeToProperty(java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSetting

public BooleanSetting(java.lang.String title,
                      java.lang.String property,
                      boolean value)
Method Detail

getValue

public boolean getValue()

loadFromProperty

public void loadFromProperty(java.util.Properties properties)
                      throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

storeToProperty

public void storeToProperty(java.util.Properties properties)
                     throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

setValue

public void setValue(boolean newValue)