Class BarColumnColor

java.lang.Object
xal.extension.widgets.plot.barchart.BarColumnColor

public class BarColumnColor extends Object
Description of the Class
Author:
shishlo created October 10, 2005
  • Constructor Details

    • BarColumnColor

      public BarColumnColor()
      Constructor for the BarColumnColor object
  • Method Details

    • getColor

      public Color getColor(int indIn)
      Returns color according to an integer index.
      Parameters:
      indIn - The color index
      Returns:
      The color value
    • setColor

      public void setColor(int index, Color color)
      set the color of index i to your favorite color
      Parameters:
      index - The new color index
      color - The new color value
    • getSize

      public int getSize()
      Returns the number of colors
      Returns:
      The size value