Class ColorScaleElement

java.lang.Object
org.jfree.chart3d.table.AbstractTableElement
org.jfree.chart3d.legend.ColorScaleElement
All Implemented Interfaces:
Serializable, TableElement

public class ColorScaleElement extends AbstractTableElement implements TableElement
A TableElement that displays a ColorScale.

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.
Since:
1.1
See Also:
  • Constructor Details

    • ColorScaleElement

      public ColorScaleElement(ColorScale scale, Orientation orientation, double barWidth, double barLength, Font font, Color textColor)
      Creates a new ColorScaleElement with the specified attributes.
      Parameters:
      scale - the color scale (null not permitted).
      orientation - the orientation (null not permitted).
      barWidth - the bar width (in Java2D units).
      barLength - the bar length (in Java2D units).
      font - the font (null not permitted).
      textColor - the text color (null not permitted).
      Since:
      1.2
  • Method Details