MenuItem.enableEvents

MenuItem.enableEvents

Class Overview | Class Members | This Package | All Packages

Syntax
protected final void enableEvents( long eventsToEnable )
Parameters
eventsToEnable
the event mask defining the event types.
Description
Enables event delivery to this menu item for events to be defined by the specified event mask parameter

Since event types are automatically enabled when a listener for that type is added to the menu item, this method only needs to be invoked by subclasses of MenuItem which desire to have the specified event types delivered to processEvent regardless of whether a listener is registered.

See Also
processEvent, disableEvents, enableEvents