- Direct Known Subclasses:
- Mandelbrot.MandelbrotView, ODE_2D.ODEView, PlaneCurveParametric.PlaneCurveParametricView, RepeatedSegmentFractal.RSFView, View3D
public class Viewextends Objectimplements Parameterizable, Decorateable, ChangeListenerA View represents one of possibly several views of an
Exhibit. A View displays its Exhbit in a
Display. These three classes are the central classes in VMM. Drawing takes place when the View's
#render(Graphics2D, int, int)method is called. Note that this might potentially be called to draw the Exhibit to other destinations besides a Display, such as to the graphics device associated with a printer.
This top-level View class might be used directly for simple two-dimensional Exhibits, but it is also likely to be used as a base class for customized Views for particular Exhibits or types of Exhibits. In particular, a specialized View class will be used for 3D views.
Note that to work correctly with the XML save/restore facility defined in
SaveAndRestore, a subclass of View must have a parameterless constructor, and it must be an independent class or a public nested class.