The event delegation model contains two main components. First are the event sources and second are the listeners. Most of the listener interfaces are available in the java.awt.event package. In Java, there are several event listener interfaces which are listed below: ActionListener This interface deals with the action events. Following is the event handling method available in the ActionListener interface: void actionPerformed(ActionEvent ae) AdjustmentListener This interface deals with the adjustment event generated by the scroll bar. Following is the event handling method available in the AdjustmentListener interface: void adjustmentValueChanged(AdjustmentEvent ae) ComponentListener This interface deals with the component events.
The post What is the action event interface in java programming appeared first on Coding Security.
What is the action event interface in java programming
read more
Tidak ada komentar:
Posting Komentar