Package org.jets3t.gui
Interface HyperlinkActivatedListener
- All Known Implementing Classes:
Cockpit
,CockpitLite
,ManageDistributionsDialog
,Uploader
public interface HyperlinkActivatedListener
Listener responsible for following HTML links that have been activated.
- Author:
- James Murty
-
Method Summary
Modifier and TypeMethodDescriptionvoid
followHyperlink
(URL url, String target) This method is triggered when an HTML link is activated, such as by an HTML link in aJHtmlLabel
- any class that implements this listener should do something useful with the triggered hyperlink, preferrably opening it in a web browser.
-
Method Details
-
followHyperlink
This method is triggered when an HTML link is activated, such as by an HTML link in aJHtmlLabel
- any class that implements this listener should do something useful with the triggered hyperlink, preferrably opening it in a web browser.- Parameters:
url
- the url contained in the href.target
- the target attribute of the href, may be null if the attribute is not present.
-