Top Description Constructors Methods
org.eclipse.swt.events

public abstract Class MenuAdapter

extends Object
implements MenuListener
Class Inheritance
All Implemented Interfaces
org.eclipse.swt.events.MenuListener, org.eclipse.swt.internal.SWTEventListener, java.util.EventListener

This adapter class provides default implementations for the methods described by the MenuListener interface.

Classes that wish to deal with MenuEvents can extend this class and override only the methods which they are interested in.

An alternative to this class are the static helper methods MenuListener#menuHiddenAdapter(java.util.function.Consumer) and MenuListener#menuShownAdapter(java.util.function.Consumer), which accept a lambda expression or a method reference that implements the event consumer.

See Also
MenuListener, MenuEvent, Sample code and further information

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Method Detail