What are the responsibilities of event listener?

What are the responsibilities of event listener?
Answer
The Event listener
represent the interfaces responsible to handle events. … Every method of an event listener method has a single argument as an object which is subclass of EventObject class. For example, mouse event listener methods will accept instance of MouseEvent, where MouseEvent derives from EventObject.
 

Tìm kiếm

Back
Top