EventListner 接口
它是一個標記接口,每一個監聽器接口擴展。這個類定義在java.util包。
類聲明
以下是聲明java.util.EventListener接口:
public interface EventListener
Swing事件監聽器接口:
以下是常用的的事件監聽器列表。
| Sr. No. | Control & Description |
|---|---|
| 1 | ActionListener 該接口用於接收動作事件。 |
| 2 | ComponentListener 該接口用於接收組件事件。 |
| 3 | ItemListener 該接口用於接收項目事件。 |
| 4 | KeyListener 該接口用於接收按鍵事件。 |
| 5 | MouseListener 該接口用於接收鼠標事件。 |
| 6 | WindowListener 該接口用於接收窗口事件。 |
| 7 | AdjustmentListener 該接口用於接收調整事件。 |
| 8 | ContainerListener 該接口用於接收容器事件。 |
| 9 | MouseMotionListener 此接口用於接收鼠標移動事件。 |
| 10 | FocusListener 該接口用於接收焦點事件。 |
http://www.52im.net/
http://www.oschina.net/uploads/doc/javase-6-doc-api-zh_CN/javax/swing/Action.html
http://www.doc88.com/p-475334186770.html
http://blog.csdn.net/crabime/article/details/54644764
https://wenku.baidu.com/view/3068410bf12d2af90242e699.html
http://www.cnblogs.com/guoyansi19900907/p/4529276.html
