OFC Charts 3.1


com.oxymel.ofc.charts.series
Class CategoryValueSeriesContainer

java.lang.Object
  |
  +--com.oxymel.ofc.charts.series.SeriesContainer
        |
        +--com.oxymel.ofc.charts.series.CategoryValueSeriesContainer

public class CategoryValueSeriesContainer
extends SeriesContainer

Manage all series of category value


Constructor Summary
CategoryValueSeriesContainer()
          Constructor
 
Method Summary
 void addCategory(Category category)
          Add Category managed
 void addCategory(java.util.Enumeration enumAllCategories)
          Add Category managed
 void addCategoryValueSeries(CategoryValueSeries categorieValueSeries)
          Add Category Value Series
 java.lang.Object clone()
          Get the clone
 java.util.Vector getAllCategoriesOrderByDisplayNumber()
          Get Vector of all categories order by display number
 CategoryValueSeries getCategoryValueSeries(java.lang.String seriesId)
          Get Category Value Series
 java.util.Enumeration getEnumAllCategoriesOrderByDisplayNumber()
          Get enumeration of all categories order by display number
 double getMaxPositiveSumCategoryValue()
          Get Max Positive Sum of all values one category
 double getMaxSumCategoryValue()
          Get Max Sum of all values one category
 double getMaxValueOfAllSeries()
          Get Max Value Of All Series
 double getMinNegativeSumCategoryValue()
          Get Min Negative Sum of all values one category
 double getMinSumCategoryValue()
          Get Min Sum of all values one category
 double getMinValueOfAllSeries()
          Get Min Value Of All Series
 int getNbCategories()
          Get the number of categories
 double getNegativeSumCategoryValue(java.lang.String categoryId)
          Get Negative Sum of all values one category
 double getPositiveSumCategoryValue(java.lang.String categoryId)
          Get Positive Sum of all values one category
 double getSumCategoryValue(java.lang.String categoryId)
          Get Sum of all values one category
 void moveDataBack(double newValueAddAtEnd)
          Move data back.
 void moveDataBackCircular()
          Move data back.
 void moveDataForward(double newValueAddAtStart)
          Move data forward.
 void moveDataForwardCircular()
          Move data forward.
 
Methods inherited from class com.oxymel.ofc.charts.series.SeriesContainer
getAllSeriesOrderByDisplayNumber, getAllSeriesOrderByReverseDisplayNumber, getEnumAllSeries, getEnumAllSeriesOrderByDisplayNumber, getEnumAllSeriesOrderByReverseDisplayNumber, getNbSeries
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryValueSeriesContainer

public CategoryValueSeriesContainer()
Constructor
Method Detail

clone

public java.lang.Object clone()
Get the clone
Returns:
the clone

getNbCategories

public int getNbCategories()
Get the number of categories
Returns:
the number of categories

moveDataBackCircular

public void moveDataBackCircular()
Move data back. All data are moved. The first value became the end value. The second value became the firs value ect..

moveDataBack

public void moveDataBack(double newValueAddAtEnd)
Move data back. All data are moved. The first value is removed. The second value became the firts value ect.. The new data is the new last value

moveDataForwardCircular

public void moveDataForwardCircular()
Move data forward. All data are moved. The end value became the first value. The first value became the second value ect..

moveDataForward

public void moveDataForward(double newValueAddAtStart)
Move data forward. All data are moved. The end is removed. The first value became the second value ect.. The new data is the new first value

addCategory

public void addCategory(Category category)
Add Category managed
Parameters:
category - Category to add

addCategory

public void addCategory(java.util.Enumeration enumAllCategories)
Add Category managed
Parameters:
enumAllCategories - Enumeration of all categories to add

addCategoryValueSeries

public void addCategoryValueSeries(CategoryValueSeries categorieValueSeries)
Add Category Value Series
Parameters:
categorieValueSeries - Category Value Series to add

getCategoryValueSeries

public CategoryValueSeries getCategoryValueSeries(java.lang.String seriesId)
Get Category Value Series
Parameters:
seriesId - Id series to get
Returns:
Series correspond to Id

getMaxValueOfAllSeries

public double getMaxValueOfAllSeries()
                              throws OFCChartsException
Get Max Value Of All Series
Returns:
Max Value Of All Series
Throws:
OFCChartsException -  

getMinValueOfAllSeries

public double getMinValueOfAllSeries()
                              throws OFCChartsException
Get Min Value Of All Series
Returns:
Min Value Of All Series
Throws:
OFCChartsException -  

getSumCategoryValue

public double getSumCategoryValue(java.lang.String categoryId)
Get Sum of all values one category
Parameters:
categoryId - Category Id
Returns:
Sum of all values category correspond to Id

getMaxSumCategoryValue

public double getMaxSumCategoryValue()
                              throws OFCChartsException
Get Max Sum of all values one category
Returns:
Max Sum of all values one category
Throws:
OFCChartsException -  

getMinSumCategoryValue

public double getMinSumCategoryValue()
                              throws OFCChartsException
Get Min Sum of all values one category
Returns:
Min Sum of all values one category
Throws:
OFCChartsException -  

getPositiveSumCategoryValue

public double getPositiveSumCategoryValue(java.lang.String categoryId)
Get Positive Sum of all values one category
Parameters:
categoryId - Category Id
Returns:
Positive Sum of all values one category

getMaxPositiveSumCategoryValue

public double getMaxPositiveSumCategoryValue()
                                      throws OFCChartsException
Get Max Positive Sum of all values one category
Returns:
Max Positive Sum of all values one category
Throws:
OFCChartsException -  

getNegativeSumCategoryValue

public double getNegativeSumCategoryValue(java.lang.String categoryId)
Get Negative Sum of all values one category
Parameters:
categoryId - Category Id
Returns:
Negative Sum of all values one category

getMinNegativeSumCategoryValue

public double getMinNegativeSumCategoryValue()
                                      throws OFCChartsException
Get Min Negative Sum of all values one category
Returns:
Min Negative Sum of all values one category
Throws:
OFCChartsException -  

getEnumAllCategoriesOrderByDisplayNumber

public java.util.Enumeration getEnumAllCategoriesOrderByDisplayNumber()
Get enumeration of all categories order by display number
Returns:
Enumeration of all categories order by display number

getAllCategoriesOrderByDisplayNumber

public java.util.Vector getAllCategoriesOrderByDisplayNumber()
Get Vector of all categories order by display number
Returns:
Vector of all categories order by display number

OFC Charts 3.1


Copyright © 2005 Oxymel SA All Rights Reserved.