All Packages Class Hierarchy This Package Previous Next Index
Class relaaja.gui.HtmlPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JPanel
|
+----relaaja.gui.HtmlPanel
- public class HtmlPanel
- extends JPanel
- implements HyperlinkListener
-
html
-
-
HtmlPanel(URL)
-
-
hyperlinkUpdate(HyperlinkEvent)
- Notification of a change relative to a
hyperlink.
-
linkActivated(URL)
- Follows the reference in an
link.
html
JEditorPane html
HtmlPanel
public HtmlPanel(URL url)
hyperlinkUpdate
public void hyperlinkUpdate(HyperlinkEvent e)
- Notification of a change relative to a
hyperlink.
linkActivated
protected void linkActivated(URL u)
- Follows the reference in an
link. The given url is the requested reference.
By default this calls setPage,
and if an exception is thrown the original previous
document is restored and a beep sounded. If an
attempt was made to follow a link, but it represented
a malformed url, this method will be called with a
null argument.
- Parameters:
- u - the URL to follow
All Packages Class Hierarchy This Package Previous Next Index