Uses of Interface
org.eclipse.swt.events.MenuListener
Package
Description
SWT typed listener support.
SWT widget public API classes.
-
Uses of MenuListener in org.eclipse.swt.events
Modifier and TypeClassDescriptionclass
This adapter class provides default implementations for the methods described by theMenuListener
interface.Modifier and TypeMethodDescriptionstatic MenuListener
MenuListener.menuHiddenAdapter
(Consumer<MenuEvent> c) Static helper method to create aMenuListener
for themenuHidden(MenuEvent e)
) method, given a lambda expression or a method reference.static MenuListener
MenuListener.menuShownAdapter
(Consumer<MenuEvent> c) Static helper method to create aMenuListener
for themenuShown(MenuEvent e)
) method, given a lambda expression or a method reference. -
Uses of MenuListener in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionvoid
Menu.addMenuListener
(MenuListener listener) Adds the listener to the collection of listeners who will be notified when menus are hidden or shown, by sending it one of the messages defined in theMenuListener
interface.void
Menu.removeMenuListener
(MenuListener listener) Removes the listener from the collection of listeners who will be notified when the menu events are generated for the control.