org.gudy.azureus2.ui.swt.config.generic
Class GenericParameterAdapter

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.config.generic.GenericParameterAdapter
Direct Known Subclasses:
ConfigParameterAdapter, TorrentOptionsView.adhocParameterAdapter, TorrentOptionsView.downloadStateParameterAdapter

public class GenericParameterAdapter
extends Object


Constructor Summary
GenericParameterAdapter()
           
 
Method Summary
 Boolean getBooleanValue(String key)
           
 Boolean getBooleanValue(String key, Boolean def)
           
 float getFloatValue(String key)
           
 int getIntValue(String key)
           
 int getIntValue(String key, int def)
           
 String getStringListValue(String key)
           
 String getStringListValue(String key, String def)
           
 void informChanged(boolean value_is_changing_internally)
           
 boolean resetIntDefault(String key)
           
 void setBooleanValue(String key, boolean value)
           
 void setFloatValue(String key, float value)
           
 void setIntValue(String key, int value)
           
 void setStringListValue(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericParameterAdapter

public GenericParameterAdapter()
Method Detail

getIntValue

public int getIntValue(String key)

getIntValue

public int getIntValue(String key,
                       int def)

setIntValue

public void setIntValue(String key,
                        int value)

resetIntDefault

public boolean resetIntDefault(String key)

getBooleanValue

public Boolean getBooleanValue(String key)

getBooleanValue

public Boolean getBooleanValue(String key,
                               Boolean def)

setBooleanValue

public void setBooleanValue(String key,
                            boolean value)

getFloatValue

public float getFloatValue(String key)

setFloatValue

public void setFloatValue(String key,
                          float value)

getStringListValue

public String getStringListValue(String key)

getStringListValue

public String getStringListValue(String key,
                                 String def)

setStringListValue

public void setStringListValue(String key,
                               String value)

informChanged

public void informChanged(boolean value_is_changing_internally)