public class HelpAction
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
HelpAction(HasHelpTag tagProvider)
Create a Help ActionListener for a dynamic help tag.
|
HelpAction(java.lang.String helpTag)
Create a Help ActionListener for a particular static help tag.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Respond when the Help button is pushed.
|
static javax.swing.JButton |
createHelpButton(HasHelpTag tagProvider)
Create a JButton for launching help.
|
static javax.swing.JButton |
createHelpButton(java.lang.String helpTag)
Create a JButton for launching help.
|
public HelpAction(java.lang.String helpTag)
helpTag
- String of help tagpublic HelpAction(HasHelpTag tagProvider)
tagProvider
- HasHelpTag implementer providing the help tagpublic static javax.swing.JButton createHelpButton(java.lang.String helpTag)
helpTag
- help tag String for launched helppublic static javax.swing.JButton createHelpButton(HasHelpTag tagProvider)
tagProvider
- HasHelpTag implementer that provides a dynamic tag valuepublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- ActionEvent identifying the help button