Chapter 15 Flashcards

1
Q

anonymous inner class

A

An inner class without a name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

event

A

A signal to the program that something has happened. Events are generated by external user actions, such as mouse movements, mouse button clicks, and keystrokes, or by the operating system, such as a timer. The program can choose to respond to an event or to ignore it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

evet-driven programming

A

Is to write GUI programs that respond to interactive events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

event handler

A

An object that handles the event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

event-handler interface

A

An interface that defines a method for handing events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

event object

A

Contains whatever properties are pertinent to the event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

event source object/or source object

A

The object that generates the event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

functional interface/single abstract method interface

A

(SAM) An interface that has only one method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

inner class

A

A class embedded in another class. Inner classes enable you to define small auxiliary objects and pass units of behavior, thus making programs simple and concise.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

key code

A

The key codes are constants defined in KeyCode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

lambda expression

A

Lambda expressions can be viewed as an anonymous class with a concise syntax.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

observable object

A

Is an instance of the Observable interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly