Adds a "Help" button that opens the specified URL in the default browser. With v1.46b or later, displays an HTML formatted message if 'url' starts with " ". There is an example at http://imagej.net/ij/macros/js/DialogWithHelp.js If url is an empty String, pressing the "Help" button does
(String url)
| 2005 | calling the DialogListeners (if any). See also: setHelpLabel. |
| 2006 | */ |
| 2007 | public void addHelp(String url) { |
| 2008 | help = new Button(helpLabel); |
| 2009 | helpURL = url; |
| 2010 | } |
| 2011 | |
| 2012 | void showHelp() { |
| 2013 | if (helpURL.startsWith("<html>")) { |
no outgoing calls
no test coverage detected