- Explain what it means to "register an event handler"
- Write a method reference representing an instance method of a particular object
- Use a method reference to register an event handler to a
Button
or TextField
- Explain the role of the
ActionEvent
passed to the method reference
- Determine the source of the event that called an event handler
- Describe the event-delegation model and explain the role of the event source object and the event listener
- List two classes whose instances are the source of events (e.g.,
Button
)
- List two classes whose instances are event objects (e.g.,
ActionEvent
)
- Implement the
EventHandler
interface as an inner class
- Implement an
EventHandler
as a lambda expression
Logistics [1:49]
- Watch the following video [link]
EventTypes [5:18]
- Watch the following video [link]
Stand-Alone Handler Class [4:05]
- Watch the following video [link]
GUI Class as Event Handler [5:44]
- Watch the following video [link]
Git Versioning Details [3:33]
- Watch the following video [link]
Inner Class Handler [4:47]
- Watch the following video [link]
Anonymous Inner Class Handler [8:50]
- Watch the following video [link]
Lambda Expression [6:37]
- Watch the following video [link]