Component.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 the events defined by the specified event mask parameter to be delivered to this component.
Event types are automatically enabled when a listener for that event type is added to the component.
This method only needs to be invoked by subclasses of Component which desire to have the specified event types delivered to processEvent regardless of whether or not a listener is registered.