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

Class Decoration

  • Direct Known Subclasses:
    Axes2D, ConformalMapFigure, DotCloudSurface, NormalBundleDecoration, RepereMobileDecoration, TangentAndNormalDecoration

    public abstract class Decorationextends Object
    Decorations are extra visual components that can be added to an Exhibit, such as a set of axes or a solution curve of an ODE. Decorations can be added either to Views or directly to Exhibits -- a decoration that is added to a View is visible only in that View. A decoration that is added to an Exhibit is visible in all Views of that Exhibit.

    When a Decoration is added to an Exhibit or View, that object will listen for ChangeEvents from the Decoration. These events will produce the necessary redrawing. The listening is set up automatically when the Decoration is added.

    This is an abstract class, even though it has no abstract methods. Subclasses will probably override the doDraw method and possibly the computeDrawData method. However, subclasses might also provide some other method for drawing the decoration.

    Note that to work correctly with the XML save/restore facility defined in SaveAndRestore, a subclass of Decoration must have a parameterless constructor, and it must be an independent class or a public nested class. However, decorations are not saved by default, so this is not a consideration for all subclasses.

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.