FileDocCategorySizeDatePackage
PluginColorParameter.javaAPI DocAzureus 3.0.3.41921Fri Oct 21 05:45:10 BST 2005org.gudy.azureus2.ui.swt.config.plugins

PluginColorParameter

public class PluginColorParameter extends Object implements PluginParameterImpl
author
Olivier

Fields Summary
org.eclipse.swt.widgets.Control[]
controls
Constructors Summary
public PluginColorParameter(org.eclipse.swt.widgets.Composite pluginGroup, org.gudy.azureus2.pluginsimpl.local.ui.config.ColorParameter parameter)

    controls = new Control[2];
           
    controls[0] = new Label(pluginGroup,SWT.NULL);
    Messages.setLanguageText(controls[0],parameter.getLabelKey());
    
    org.gudy.azureus2.ui.swt.config.ColorParameter cp =
    	new org.gudy.azureus2.ui.swt.config.ColorParameter(
    	    pluginGroup,
    	    parameter.getKey(),
					parameter.getDefaultRed(),
					parameter.getDefaultGreen(),
					parameter.getDefaultBlue());
    controls[1] = cp.getControl();
    new Label(pluginGroup,SWT.NULL);
  
Methods Summary
public org.eclipse.swt.widgets.Control[]getControls()

    return controls;