A handle to an Event object is passed into action() method. The object contains the object the event happened and some other information. Only some types of controls have a "standard action" that occurs will causes the call to action().
Case Study: Button2.java