Page 224 Table of Contents Index Page 226
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 23. PRESENTATION TYPES


23.6 Views

accept and present methods can specialize on the view argument in order to define more than
one view of the data. For example, a spreadsheet program might define a presentation type for
quarterly earnings, which can be displayed as a floating point number or as a bar of some length
in a bar graph. These two views might be implemented by specializing the view arguments for
the textual-view class and the user-defined bar-graph-view class.

=> view [Protocol Class]
The protocol class for view objects. If you want to create a new class that behaves like a view,
it should be a subclass of view. Subclasses of view must obey the view protocol.

All of the view classes are immutable.

=> viewp object [Function]
Returns true if object is a view, otherwise returns false.

=> textual-view [Class]
The class representing all textual views, a subclass of view. Presentation methods that apply to
a textual view must only do textual input and output (such as read-char and write-string).

=> textual-menu-view [Class]
The class that represents the default view that is used inside menu-choose for frame managers
that are not using a gadget-oriented look and feel. It is a subclass of textual-view.

=> textual-dialog-view [Class]
The class that represents the default view that is used inside accepting-values dialogs for
frame managers that are not using a gadget-oriented look and feel. It is a subclass of textual-
view
.

=> gadget-view [Class]
The class representing all gadget views, a subclass of view.

=> gadget-menu-view [Class]
The class that represents the default view that is used inside menu-choose for frame managers
that are using a gadget-oriented look and feel. It is a subclass of gadget-view.

=> gadget-dialog-view [Class]
The class that represents the default view that is used inside accepting-values dialogs for
frame managers that are using a gadget-oriented look and feel. It is a subclass of gadget-view.

=> pointer-documentation-view [Class]


Page 224 Table of Contents Index Page 226
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E