FileDocCategorySizeDatePackage
StringListParameterImpl.javaAPI DocAzureus 3.0.3.41993Sun Nov 20 09:53:20 GMT 2005org.gudy.azureus2.pluginsimpl.local.ui.config

StringListParameterImpl

public class StringListParameterImpl extends ParameterImpl implements org.gudy.azureus2.plugins.ui.config.StringListParameter
author
epall

Fields Summary
private String
defaultValue
private String[]
values
private String[]
labels
Constructors Summary
public StringListParameterImpl(org.gudy.azureus2.plugins.PluginConfig config, String key, String label, String defaultValue, String[] values, String[] labels)

 
		super(config,key, label);
		this.defaultValue = defaultValue;
		this.values = values;
		this.labels = labels;
		
		COConfigurationManager.setStringDefault(getKey(), getDefaultValue());
	
Methods Summary
public java.lang.StringgetDefaultValue()

		return defaultValue;
	
public java.lang.String[]getLabels()

	  return labels;
	
public java.lang.StringgetValue()

		return( config.getStringParameter( getKey(), getDefaultValue()));
	
public java.lang.String[]getValues()

	  return values;
	
public voidsetValue(java.lang.String s)

		COConfigurationManager.setParameter( getKey(), s );