FileDocCategorySizeDatePackage
LinkParameter.javaAPI DocAzureus 3.0.3.42287Mon Jan 15 22:37:24 GMT 2007org.gudy.azureus2.ui.swt.config

LinkParameter

public class LinkParameter extends Parameter
author
parg

Fields Summary
Label
link_label
Constructors Summary
public LinkParameter(Composite composite, String name_resource)

  	super(name_resource);
    link_label = new Label(composite, SWT.NULL);
    Messages.setLanguageText(link_label, name_resource);
    link_label.setCursor(Cursors.handCursor);
    link_label.setForeground(Colors.blue);
    link_label.addMouseListener(new MouseAdapter() {
      public void mouseDoubleClick(MouseEvent arg0) {
        fire();
      }
      public void mouseUp(MouseEvent arg0) {
        fire();
      }
    });
  
Methods Summary
protected voidfire()

	  for (int i=0;i<change_listeners.size();i++){
		
		((ParameterChangeListener)change_listeners.get(i)).parameterChanged(this,false);
	}
  
public ControlgetControl()

	 return link_label;
  
public voidsetLayoutData(java.lang.Object layoutData)

	  link_label.setLayoutData(layoutData);
  
public voidsetValue(java.lang.Object value)