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. [annotate]

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. All instantiable subclasses of view must obey the view protocol. [annotate]

All of the view classes are immutable. [annotate]

[annotate]

viewp  object [Protocol Predicate]
          

Returns true if object is a view, otherwise returns false. [annotate]

[annotate]

textual-view   [Class]
          

The instantiable 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). [annotate]

[annotate]

textual-menu-view   [Class]
          

The instantiable 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. [annotate]

[annotate]

textual-dialog-view   [Class]
          

The instantiable 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. [annotate]

[annotate]

gadget-view   [Class]
          

The instantiable class representing all gadget views, a subclass of view. [annotate]

[annotate]

gadget-menu-view   [Class]
          

The instantiable 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. [annotate]

[annotate]

gadget-dialog-view   [Class]
          

The instantiable 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. [annotate]

[annotate]

pointer-documentation-view   [Class]
          

The instantiable class that represents the default view that is used when computing pointer documentation. It is a subclass of textual-view. [annotate]

[annotate]

+textual-view+   [Constant]
+textual-menu-view+   [Constant]
+textual-dialog-view+   [Constant]
+gadget-view+   [Constant]
+gadget-menu-view+   [Constant]
+gadget-dialog-view+   [Constant]
+pointer-documentation-view+   [Constant]
stream-default-view  stream [Generic Function]
          

Returns the default view for the extended stream stream. accept and present get the default value for the view argument from this. All extended input and output streams must implement a method for this generic function. [annotate]

[annotate]

(setf stream-default-view)  view stream [Generic Function]
          

Changes the default view for stream to the view view. All extended input and output streams must implement a method for this generic function. [annotate]

[annotate]