In an editing system, all user interface events can be translated into implicit or explicit commands. Explain why, in Figure 28.10, the Event object therefore communicates directly with the editor data structure as well as the Command object.

What will be an ideal response?

The Event object communicates directly with the editor data structure to allow
more efficient operation. Some commands that are implicit, such as inserting a
character by pressing a key on a keyboard, require very fast response and, rather
than lookup the command in a separate object, the event processing object
interprets these directly and makes changes to the data structure.

Computer Science & Information Technology

You might also like to view...

DOS stands for ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

All of the following are navigation devices to move data around or between networks EXCEPT ________

A) spans B) switches C) bridges D) routers

Computer Science & Information Technology