public interface HyperlinkActivatedListener
Modifier and Type | Method and Description |
---|---|
void |
followHyperlink(java.net.URL url,
java.lang.String target)
This method is triggered when an HTML link is activated, such as by an HTML link in a
JHtmlLabel - any class that implements this listener should do something useful
with the triggered hyperlink, preferrably opening it in a web browser. |
void followHyperlink(java.net.URL url, java.lang.String target)
JHtmlLabel
- any class that implements this listener should do something useful
with the triggered hyperlink, preferrably opening it in a web browser.url
- the url contained in the href.target
- the target attribute of the href, may be null if the attribute is not present.