Interface BarColumn


public interface BarColumn
The bar column interface for the Bar Chart Class
Author:
shishlo created October 10, 2005
  • Method Summary

    Modifier and Type
    Method
    Description
    getColor(int index)
    Returns the color for the line inside the bar
    Returns a marker for this bar
    boolean
    Returns true if user wants to see the bar
    boolean
    show(int index)
    Returns true if user wants to see the line with this index
    int
     
    double
    value(int index)
    Returns the value for the line hight inside the bar
  • Method Details

    • size

      int size()
      Returns:
      Returns number of lines inside this bar
    • show

      boolean show(int index)
      Returns true if user wants to see the line with this index
      Parameters:
      index - The index of the line inside the bar
      Returns:
      True (or false) if user (does not ) wants to see the line with this index
    • show

      boolean show()
      Returns true if user wants to see the bar
      Returns:
      True (or false) if user (does not ) wants to see the column
    • value

      double value(int index)
      Returns the value for the line hight inside the bar
      Parameters:
      index - The index of the line inside the bar
      Returns:
      The value for the line hight inside the bar
    • getColor

      Color getColor(int index)
      Returns the color for the line inside the bar
      Parameters:
      index - The index of the line inside the bar
      Returns:
      The value for the line hight inside the bar
    • marker

      String marker()
      Returns a marker for this bar
      Returns:
      The string with marker