Class TLcyHyperlinkAddOn

java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.hyperlink.TLcyHyperlinkAddOn

public class TLcyHyperlinkAddOn extends ALcyAddOn

This addon registers a default hyperlink listener as a service in Lucy.

The default hyperlink listener will open a standard browser

Since:
10.0
  • Constructor Details

    • TLcyHyperlinkAddOn

      public TLcyHyperlinkAddOn()

      Creates a new instance of the hyperlink addon.

      The TLcyHyperlinkAddOn will register a default HyperlinkListener to the Lucy backend. This default hyperlink listener will make use of Java Desktop API to open hyperlinks in the default browser of the operating system. This only works when Desktop.isDesktopSupported() returns true.

      The TLcyHyperlinkAddOn is for example used by the TLcyKML22AddOn. The TLcyKML22AddOn generates HTML balloons for its elements. When a balloon contains a hyperlink, it will notify a TLcyCompositeHyperlinkListener registered to the backend. This TLcyCompositeHyperlinkListener will in turn notify all HyperlinkListener instances that are registered to it, including the default HyperlinkListener that opens a hyperlink in a browser.

  • Method Details