org.gudy.azureus2.ui.swt.config
Class ConfigParameterAdapter

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.generic.GenericParameterAdapter
      extended by org.gudy.azureus2.ui.swt.config.ConfigParameterAdapter

public class ConfigParameterAdapter
extends GenericParameterAdapter

A GenericParameterAdapter that stores/retrieves settings from COConfigurationManager


Constructor Summary
protected ConfigParameterAdapter(Parameter _owner, String configID)
           
 
Method Summary
 Boolean getBooleanValue(String key)
           
 Boolean getBooleanValue(String key, Boolean def)
           
 int getIntValue(String key)
           
 int getIntValue(String key, int def)
           
 void informChanged(boolean internally)
           
 void informChanging(boolean toValue)
           
 void informChanging(double toValue)
           
 void informChanging(int toValue)
           
 void informChanging(String toValue)
           
 boolean resetIntDefault(String key)
           
 void setBooleanValue(String key, boolean value)
           
 void setIntValue(String key, int value)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.config.generic.GenericParameterAdapter
getFloatValue, getStringListValue, getStringListValue, setFloatValue, setStringListValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigParameterAdapter

protected ConfigParameterAdapter(Parameter _owner,
                                 String configID)
Method Detail

getIntValue

public int getIntValue(String key)
Overrides:
getIntValue in class GenericParameterAdapter

getIntValue

public int getIntValue(String key,
                       int def)
Overrides:
getIntValue in class GenericParameterAdapter

setIntValue

public void setIntValue(String key,
                        int value)
Overrides:
setIntValue in class GenericParameterAdapter

resetIntDefault

public boolean resetIntDefault(String key)
Overrides:
resetIntDefault in class GenericParameterAdapter

getBooleanValue

public Boolean getBooleanValue(String key)
Overrides:
getBooleanValue in class GenericParameterAdapter

getBooleanValue

public Boolean getBooleanValue(String key,
                               Boolean def)
Overrides:
getBooleanValue in class GenericParameterAdapter

setBooleanValue

public void setBooleanValue(String key,
                            boolean value)
Overrides:
setBooleanValue in class GenericParameterAdapter

informChanged

public void informChanged(boolean internally)
Overrides:
informChanged in class GenericParameterAdapter

informChanging

public void informChanging(int toValue)

informChanging

public void informChanging(boolean toValue)

informChanging

public void informChanging(String toValue)

informChanging

public void informChanging(double toValue)