📅  最后修改于: 2020-11-18 07:48:08             🧑  作者: Mango
适配器是用于接收各种事件的抽象类。这些类中的方法为空。这些类的存在是为了方便创建侦听器对象。
以下是在AWT中监听GUI事件时常用的适配器列表。
Sr. No. | Adapter & Description |
---|---|
1 |
An abstract adapter class for receiving focus events. |
2 |
An abstract adapter class for receiving key events. |
3 |
An abstract adapter class for receiving mouse events. |
4 |
An abstract adapter class for receiving mouse motion events. |
5 |
An abstract adapter class for receiving window events. |