APPENDIX F

Java Classes APIs

In this appendix, we have compiled the APIs for the Java classes and interfaces used in this book. There are more methods and constructors for the classes presented here, and there are many more classes in the Java class library. We invite you to explore the Java APIs at www.oracle.com/technetwork/java.

ActionEvent

Package: java.awt.event

Description: contains information relating to the action event fired by a component. This event is passed to any ActionListener registered on the component.

A Useful Method of the ActionEvent Class

Return value   Method name and argument list
Object getSource( )returns the object reference of the component that fired the event.This method is inherited from the EventObject class ...

Get Java Illuminated, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.