FileDocCategorySizeDatePackage
IntParameterImpl.javaAPI DocAzureus 3.0.3.41722Tue May 24 01:33:00 BST 2005org.gudy.azureus2.pluginsimpl.local.ui.config

IntParameterImpl

public class IntParameterImpl extends ParameterImpl implements org.gudy.azureus2.plugins.ui.config.IntParameter
author
Olivier

Fields Summary
private int
defaultValue
Constructors Summary
public IntParameterImpl(org.gudy.azureus2.plugins.PluginConfig config, String key, String label, int defaultValue)

 
		super(config,key, label);
		
		COConfigurationManager.setIntDefault( getKey(), defaultValue );

		this.defaultValue = defaultValue;
	
Methods Summary
public intgetDefaultValue()

return
Returns the defaultValue.

		return defaultValue;
	
public intgetValue()

		return( config.getIntParameter( getKey(), getDefaultValue()));
	
public voidsetValue(int b)

		COConfigurationManager.setParameter( getKey(), b );