Class ContextSensitiveHelpAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

    public class ContextSensitiveHelpAction
    extends javax.swing.AbstractAction
    This is the standard help action to be used with help buttons for context sensitive help
    Since:
    2289
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String helpTopic  
      • Fields inherited from class javax.swing.AbstractAction

        changeSupport, enabled
      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Constructor Summary

      Constructors 
      Constructor Description
      ContextSensitiveHelpAction()
      Constructs a new ContextSensitiveHelpAction for the root help topic.
      ContextSensitiveHelpAction​(java.lang.String helpTopic)
      Constructs a new ContextSensitiveHelpAction for a given help topic.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent e)  
      void setHelpTopic​(java.lang.String relativeHelpTopic)
      Sets the help topic.
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
    • Field Detail

      • helpTopic

        private java.lang.String helpTopic
    • Constructor Detail

      • ContextSensitiveHelpAction

        public ContextSensitiveHelpAction()
        Constructs a new ContextSensitiveHelpAction for the root help topic.
      • ContextSensitiveHelpAction

        public ContextSensitiveHelpAction​(java.lang.String helpTopic)
        Constructs a new ContextSensitiveHelpAction for a given help topic.
        Parameters:
        helpTopic - The help topic
    • Method Detail

      • setHelpTopic

        public void setHelpTopic​(java.lang.String relativeHelpTopic)
        Sets the help topic.
        Parameters:
        relativeHelpTopic - the relative help topic
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)