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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access