com.extentech.ExtenXLS.ui.jchart
Class YSeries

java.lang.Object
  extended by com.extentech.ExtenXLS.ui.jchart.YSeries

public class YSeries
extends java.lang.Object

This class is a holder of Strings that represent the y-axis series of a Chart.

Author:
Danielle Gilbert

Constructor Summary
YSeries()
          Constructor for a new empty YSeries.
YSeries(java.util.ArrayList list)
          Constructor for a new YSeries with zero or more Strings contained in the given ArrayList.
YSeries(java.lang.String str)
          Constructor for a new YSeries with a single series (initially).
 
Method Summary
 void addMultipleSeries(java.util.ArrayList list)
          Method to add multiple series (contained in an ArrayList) to this YSeries.
 void addSeries(java.lang.String str)
          Method to add a series to a YSeries object.
 void clear()
          Method to clear the YSeries of all series it contains.
 java.util.ArrayList getSeries()
          Returns an ArrayList of Strings that are the series in the YSeries object.
 double[] getYAxisValues()
          Gets the data for another of the y axis series.
 double[] getYAxisValues(int index)
           
 double[] getYAxisValues2()
           
 double[] getYAxisValues3()
           
 int getYSeriesCount()
           
 void removeMultipleSeries(java.util.ArrayList list)
          Method to remove multiple series (contained in an ArrayList) to this YSeries.
 void removeSeries(java.lang.String str)
          Method to remove a series to a YSeries object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YSeries

public YSeries()
Constructor for a new empty YSeries.


YSeries

public YSeries(java.lang.String str)
Constructor for a new YSeries with a single series (initially).

Parameters:
str -

YSeries

public YSeries(java.util.ArrayList list)
Constructor for a new YSeries with zero or more Strings contained in the given ArrayList.

Parameters:
list -
Method Detail

getSeries

public java.util.ArrayList getSeries()
Returns an ArrayList of Strings that are the series in the YSeries object.


addSeries

public void addSeries(java.lang.String str)
Method to add a series to a YSeries object.


addMultipleSeries

public void addMultipleSeries(java.util.ArrayList list)
Method to add multiple series (contained in an ArrayList) to this YSeries.


removeSeries

public void removeSeries(java.lang.String str)
Method to remove a series to a YSeries object.


removeMultipleSeries

public void removeMultipleSeries(java.util.ArrayList list)
Method to remove multiple series (contained in an ArrayList) to this YSeries.


clear

public void clear()
Method to clear the YSeries of all series it contains.


getYAxisValues

public double[] getYAxisValues()
Gets the data for another of the y axis series. TODO: Use this method to get the array of double needed to create one of the series for the y axis.


getYAxisValues2

public double[] getYAxisValues2()

getYAxisValues3

public double[] getYAxisValues3()

getYAxisValues

public double[] getYAxisValues(int index)

getYSeriesCount

public int getYSeriesCount()


Copyright © 2011 Extentech Inc. All Rights Reserved.