Adapters are abstract classes for receiving various events. The
methods in these classes are empty. These classes exists as convenience
for creating listener objects.
SWING Adapters:
Following is the list of commonly used adapters while listening GUI events in SWING.
Sr. No. |
Adapter & Description |
1 |
FocusAdapterAn abstract adapter class for receiving focus events. |
2 |
KeyAdapterAn abstract adapter class for receiving key events. |
3 |
MouseAdapterAn abstract adapter class for receiving mouse events. |
4 |
MouseMotionAdapterAn abstract adapter class for receiving mouse motion events. |
5 |
WindowAdapterAn abstract adapter class for receiving window events. |
No comments:
Post a Comment