class HelpBrowser.HyperlinkHandler extends Object implements HyperlinkListener
Constructor and Description |
---|
HyperlinkHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
getUrlFragment(HyperlinkEvent e)
Checks whether the hyperlink event originated on a <a ...> element with
a relative href consisting of a URL fragment only, i.e.
|
void |
hyperlinkUpdate(HyperlinkEvent e) |
protected boolean |
scrollToElementWithId(String id)
Scrolls the help browser to the element with id
id |
HyperlinkHandler()
protected boolean scrollToElementWithId(String id)
id
id
- the idprotected String getUrlFragment(HyperlinkEvent e)
null
e
- the hyperlink eventnull
public void hyperlinkUpdate(HyperlinkEvent e)
hyperlinkUpdate
in interface HyperlinkListener