Package org.eclipse.swt.events
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 theremoveHelpListener
method. When help is requested for a control, the helpRequested method will be invoked.- See Also:
HelpEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
helpRequested(HelpEvent e)
Sent when help is requested for a control, typically when the user presses F1.
-
-
-
Method Detail
-
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
-
-