org.gudy.azureus2.ui.swt.components
Class LinkLabel

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.components.LinkLabel

public class LinkLabel
extends java.lang.Object


Constructor Summary
LinkLabel(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.layout.GridData gridData, java.lang.String resource, java.lang.String link)
           
LinkLabel(org.eclipse.swt.widgets.Composite composite, java.lang.String resource, java.lang.String link)
           
 
Method Summary
 org.eclipse.swt.widgets.Label getlabel()
           
static void makeLinkedLabel(org.eclipse.swt.widgets.Label label, java.lang.String hyperlink)
          Alters a given label to make it appear like a launchable link.
static void updateLinkedLabel(org.eclipse.swt.widgets.Label label, java.lang.String hyperlink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkLabel

public LinkLabel(org.eclipse.swt.widgets.Composite composite,
                 java.lang.String resource,
                 java.lang.String link)

LinkLabel

public LinkLabel(org.eclipse.swt.widgets.Composite composite,
                 org.eclipse.swt.layout.GridData gridData,
                 java.lang.String resource,
                 java.lang.String link)
Method Detail

getlabel

public org.eclipse.swt.widgets.Label getlabel()

makeLinkedLabel

public static void makeLinkedLabel(org.eclipse.swt.widgets.Label label,
                                   java.lang.String hyperlink)
Alters a given label to make it appear like a launchable link. This should preferably be done after all other changes have been performed on the label - especially the setting of the label's text.


updateLinkedLabel

public static void updateLinkedLabel(org.eclipse.swt.widgets.Label label,
                                     java.lang.String hyperlink)