Class AbstractPlot3D

java.lang.Object
org.jfree.chart3d.plot.AbstractPlot3D
All Implemented Interfaces:
Serializable, EventListener, ChartElement, Dataset3DChangeListener, Plot3D
Direct Known Subclasses:
CategoryPlot3D, PiePlot3D, XYZPlot

public abstract class AbstractPlot3D extends Object implements Plot3D, Dataset3DChangeListener, Serializable
A base class that can be used to create classes that implement Plot3D.

A mechanism is provided for registering change listeners on the plot. Whenever some attribute of the plot changes, all the registered listeners are notified. The Chart3D instance that owns the plot will be automatically registered as a listener so that it receives notification whenever the plot (or some other object managed by the plot) changes.

Typically a plot registers itself as a change listener on its dataset and whenever a dataset change notification is received, the plot will pass on a Plot3DChangeEvent to all *its* listeners. If the plot has axes, then the same approach is used to listen for changes to the axes.

NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
See Also:
  • Field Details

    • dimensions

      The plot dimensions in 3D space. By default, this is auto-adjusted according to the dataset, but the user can override this.
    • autoAdjustDimensions

      protected boolean autoAdjustDimensions
      A flag that controls whether or not the plot dimensions (in the 3D model) are adjusted automatically.
  • Constructor Details

  • Method Details