|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.text.DefaultHyperlinkActivationHandler
public class DefaultHyperlinkActivationHandler
An implementation of HyperlinkListener that will open a web browser when a URL is activated or, when an anchor link is activated scoll the pane to display the anchor location.
Constructor Summary | |
---|---|
DefaultHyperlinkActivationHandler()
|
Method Summary | |
---|---|
protected void |
handleAnchorActivated(HyperlinkEvent e,
String anchor)
Called when the user clicks on an anchor e.g. |
protected void |
handleOtheActivated(HyperlinkEvent e)
Called when the user clicks on a link that is neither an anchor or URL. |
protected void |
handleUrlActivated(HyperlinkEvent e,
URL url)
Called when the user clicks on a URL link e.g. |
void |
hyperlinkUpdate(HyperlinkEvent e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultHyperlinkActivationHandler()
Method Detail |
---|
protected void handleAnchorActivated(HyperlinkEvent e, String anchor)
This default implementation will scroll the source pane so that the anchor target becomes visible.
protected void handleUrlActivated(HyperlinkEvent e, URL url)
This default implementation attempt to open the link in the systems default browser.
protected void handleOtheActivated(HyperlinkEvent e)
This default implementation does nothing.
public void hyperlinkUpdate(HyperlinkEvent e)
hyperlinkUpdate
in interface HyperlinkListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |