Interface HelpListener

All Superinterfaces:
EventListener, SWTEventListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface HelpListener extends SWTEventListener
Classes which implement this interface provide a method that deals with the event that is generated when help is requested for a control, typically when the user presses F1.

After creating an instance of a class that implements this interface it can be added to a control using the addHelpListener method and removed using the removeHelpListener method. When help is requested for a control, the helpRequested method will be invoked.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sent when help is requested for a control, typically when the user presses F1.
  • Method Details

    • helpRequested

      void helpRequested(HelpEvent e)
      Sent when help is requested for a control, typically when the user presses F1.
      Parameters:
      e - an event containing information about the help