Class LinkLabel

java.lang.Object
com.biglybt.ui.swt.components.LinkLabel

public class LinkLabel extends Object
  • Field Details

    • MOUSE_LISTENER_KEY

      private static final String MOUSE_LISTENER_KEY
      See Also:
    • linkLabel

      private final org.eclipse.swt.widgets.Label linkLabel
  • Constructor Details

    • LinkLabel

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

      public LinkLabel(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.layout.GridData gridData, String resource, String link)
    • LinkLabel

      public LinkLabel(org.eclipse.swt.widgets.Composite composite, String resource, Runnable runnable)
    • LinkLabel

      public LinkLabel(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.layout.GridData gridData, String resource, Runnable runnable)
  • Method Details

    • getlabel

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

      public static void makeLinkedLabel(org.eclipse.swt.widgets.Label label, 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, String hyperlink)
    • removeLinkedLabel

      public static void removeLinkedLabel(org.eclipse.swt.widgets.Label label)
    • makeLinkedLabel

      public static void makeLinkedLabel(org.eclipse.swt.widgets.Label label, Runnable runnable)