Podcast
Questions and Answers
What is an event in the delegation model?
What is an event in the delegation model?
- A timer or counter
- A graphical user interface element
- A consequence of user interaction
- An object describing a state change in a source (correct)
What are examples of activities that cause events to be generated?
What are examples of activities that cause events to be generated?
- Pressing a button, entering a character, selecting an item, clicking the mouse (correct)
- Creating a folder, renaming a file, deleting an item
- Closing a program, saving a document, printing a file
- Opening a file, resizing a window, maximizing a screen
What is an event source in the delegation model?
What is an event source in the delegation model?
- A user interface component
- A software or hardware failure
- An object that generates an event (correct)
- A timer or counter
What kind of events may occur that are not directly caused by interactions with a user interface?
What kind of events may occur that are not directly caused by interactions with a user interface?
What are objects that can be defined as appropriate events for an application?
What are objects that can be defined as appropriate events for an application?