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, java.lang.String configID)
           
 
Method Summary
 java.lang.Boolean getBooleanValue(java.lang.String key)
           
 java.lang.Boolean getBooleanValue(java.lang.String key, java.lang.Boolean def)
           
 int getIntValue(java.lang.String key)
           
 int getIntValue(java.lang.String key, int def)
           
 void informChanged(boolean internally)
           
 void informChanging(boolean toValue)
           
 void informChanging(double toValue)
           
 void informChanging(int toValue)
           
 void informChanging(java.lang.String toValue)
           
 boolean resetIntDefault(java.lang.String key)
           
 void setBooleanValue(java.lang.String key, boolean value)
           
 void setIntValue(java.lang.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,
                                 java.lang.String configID)
Method Detail

getIntValue

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

getIntValue

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

setIntValue

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

resetIntDefault

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

getBooleanValue

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

getBooleanValue

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

setBooleanValue

public void setBooleanValue(java.lang.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(java.lang.String toValue)

informChanging

public void informChanging(double toValue)