FileDocCategorySizeDatePackage
ColorParameter.javaAPI DocAzureus 3.0.3.41811Thu Jun 03 13:36:52 BST 2004org.gudy.azureus2.pluginsimpl.local.ui.config

ColorParameter

public class ColorParameter extends ParameterImpl
author
Olivier

Fields Summary
private int
defaultRed
private int
defaultGreen
private int
defaultBlue
Constructors Summary
public ColorParameter(org.gudy.azureus2.plugins.PluginConfig config, String key, String label, int red, int green, int blue)

 
		super(config,key, label);
	    this.defaultRed = red;
	    this.defaultGreen = green;
	    this.defaultBlue = blue;
	    
	    COConfigurationManager.setIntDefault(getKey() + ".red", getDefaultRed());
	    COConfigurationManager.setIntDefault(getKey() + ".green", getDefaultGreen());
	    COConfigurationManager.setIntDefault(getKey() + ".blue", getDefaultBlue());
	
Methods Summary
public intgetDefaultBlue()

	  return defaultBlue;
	
public intgetDefaultGreen()

	  return defaultGreen;
	
public intgetDefaultRed()

		return defaultRed;