javax.help.plaf.basic
Class BasicContentViewerUI
- java.util.EventListener, HelpModelListener, HyperlinkListener, PropertyChangeListener, Serializable, TextHelpModelListener
public class BasicContentViewerUI
The default UI for JHelpContentViewer.
createUI
public static ComponentUI createUI(JComponent x)
getMaximumSize
public Dimension getMaximumSize(JComponent c)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
hyperlinkUpdate
public void hyperlinkUpdate(HyperlinkEvent e)
Notification of a change relative to a
hyperlink.
installUI
public void installUI(JComponent c)
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.
propertyChange
public void propertyChange(PropertyChangeEvent event)
setEditorKit
public void setEditorKit(String type,
EditorKit kit)
uninstallUI
public void uninstallUI(JComponent c)