Class HelpActionLabel

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants

public class HelpActionLabel extends JButton implements ActionListener
Class HelpActionLabel is used as a lightweight component in the java help. It allows for actions to be routed to a global ActionListener
Version:
$Revision: 1.2 $
Author:
IDV Development Team
See Also:
  • Constructor Details

    • HelpActionLabel

      public HelpActionLabel()
      ctor
  • Method Details

    • setActionListener

      public static void setActionListener(ActionListener actionListener)
      set the global action listener
      Parameters:
      actionListener - the action listener
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Handle the action
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - event
    • setHelpTooltip

      public void setHelpTooltip(String s)
      set the tool tip
      Parameters:
      s - tooltip
    • setHelpText

      public void setHelpText(String s)
      Set the help text
      Parameters:
      s - text
    • setHelpIcon

      public void setHelpIcon(String s)
      Set the icon
      Parameters:
      s - icon
    • setHelpAction

      public void setHelpAction(String value)
      Set the HelpAction property.
      Parameters:
      value - The new value for HelpAction