public class HelpAction
extends javax.swing.AbstractAction
Constructor and Description |
---|
HelpAction(java.lang.String newid,
java.lang.String name,
java.lang.Boolean isContextual)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
resetTOC(java.lang.Boolean isContextualHelp)
tidies the table of content
|
java.lang.String |
toHTML(java.lang.String s)
replaces special characters (except <, >, ", &)
|
public HelpAction(java.lang.String newid, java.lang.String name, java.lang.Boolean isContextual)
newid
- : ID of the help pagename
- : name of the help page (if context)isContextual
- : false if from main window, true otherwisepublic void actionPerformed(java.awt.event.ActionEvent e)
e
- : action eventpublic void resetTOC(java.lang.Boolean isContextualHelp)
isContextualHelp
- : true if contextual (creates html file)public java.lang.String toHTML(java.lang.String s)
s
- string with special characters