Documentation API of the 'vmm3d.core.Exhibit' Java class

Class Exhibit

  • All Implemented Interfaces:
    EventListener, ChangeListener, Decorateable, Parameterizable
    Direct Known Subclasses:
    Exhibit3D, Mandelbrot, ODE_2D, PlaneCurve, RepeatedSegmentFractal

    public abstract class Exhibitextends Objectimplements Parameterizable, Decorateable, ChangeListener
    An Exhibit represents a mathematical object that can be drawn on the screen. An Exhibit is rendered by a View, which drawns the Exhibit in a Display. An Exhibit emits ChangeEvents when it changes in a way that requires redrawing. View objects listen for these events to decide when to do a redraw. The infrastructure for generating these events and for setting up event listening is built into the Exhibit, View, Display, Decoration and Parameter classes so that ordinary programmers will not have to worry about it.

    Exhibit s declared as an abstract class, since it doesn't make sense to use it directly. However, it does not contain any abstract methods. Concrete subclasses should provide some way of drawing an actual Exhibit, most likely by overriding the doDraw method (but possibly by creating a specialized View class to do the drawing or by some other technique).

    Concrete subclasses can use the addParameter, setDefaultWindow, setDefaultForeground, and setDefaultBackground to customize the Exhibit. The subclass can override the getActionsForView, getViewCommandsForView, getSettingsCommandsForView, getCreateAnimation, getMorphingAnimation, and createAxes methods, in addtion to doDraw and possibly computeDrawData.

    Note that to work correctly with the XML save/restore facility defined in SaveAndRestore, a subclass of Exhibit must have a parameterless constructor, and it must be an independent (not nested) class.

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.