|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.help.plaf.HelpContentViewerUI
javax.help.plaf.basic.BasicContentViewerUI
jmri.util.ExternalLinkContentViewerUI
public class ExternalLinkContentViewerUI
A UI subclass that will open external links (website or mail links) in an external browser
To use: SwingHelpUtilities.setContentViewerUI("jmri.util.ExternalLinkContentViewerUI");
| Field Summary |
|---|
| Fields inherited from class javax.help.plaf.basic.BasicContentViewerUI |
|---|
theViewer |
| Constructor Summary | |
|---|---|
ExternalLinkContentViewerUI(javax.help.JHelpContentViewer x)
|
|
| Method Summary | |
|---|---|
static void |
activateURL(URL u)
|
static ComponentUI |
createUI(JComponent x)
|
void |
hyperlinkUpdate(HyperlinkEvent he)
|
| Methods inherited from class javax.help.plaf.basic.BasicContentViewerUI |
|---|
getMaximumSize, getMinimumSize, getPreferredSize, highlightsChanged, idChanged, installUI, linkActivated, propertyChange, setEditorKit, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, paint, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalLinkContentViewerUI(javax.help.JHelpContentViewer x)
| Method Detail |
|---|
public static ComponentUI createUI(JComponent x)
public void hyperlinkUpdate(HyperlinkEvent he)
hyperlinkUpdate in interface HyperlinkListenerhyperlinkUpdate in class javax.help.plaf.basic.BasicContentViewerUI
public static void activateURL(URL u)
throws IOException,
URISyntaxException
IOException
URISyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||