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

PluginIntParameter

public class PluginIntParameter extends Object implements PluginParameterImpl
author
Olivier

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

    controls = new Control[2];
           
    controls[0] = new Label(pluginGroup,SWT.NULL);
    Messages.setLanguageText(controls[0],parameter.getLabelKey());
    
    org.gudy.azureus2.ui.swt.config.IntParameter ip =
    	new org.gudy.azureus2.ui.swt.config.IntParameter(
    	    pluginGroup,
    	    parameter.getKey(),
					parameter.getDefaultValue());
    controls[1] = ip.getControl();
    GridData gridData = new GridData();
    gridData.widthHint = 100;
    controls[1].setLayoutData(gridData);
    new Label(pluginGroup,SWT.NULL);
  
Methods Summary
public org.eclipse.swt.widgets.Control[]getControls()

    return controls;