com.rapidminer.gui.new_plotter.data
Class GroupCellData

java.lang.Object
  extended by com.rapidminer.gui.new_plotter.data.GroupCellData

public class GroupCellData
extends java.lang.Object

Author:
Marius Helf

Constructor Summary
GroupCellData()
           
 
Method Summary
 java.util.Map<DimensionConfig.PlotDimension,double[]> getDataForUsageType(ValueSource.SeriesUsageType usageType)
           
 int getSize()
          Returns the number of data points in the DOMAIN dimension of the MAIN_SERIES series of this GroupCellData.
 java.util.Map<DimensionConfig.PlotDimension,double[]> initDataForUsageType(ValueSource.SeriesUsageType usageType, java.lang.Iterable<DimensionConfig.PlotDimension> dimensions, int valueCount)
          Initializes a map from Dimension to double[] for the given SeriesUsageType.
 void setDataForUsageType(ValueSource.SeriesUsageType usageType, java.util.Map<DimensionConfig.PlotDimension,double[]> data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupCellData

public GroupCellData()
Method Detail

getDataForUsageType

public java.util.Map<DimensionConfig.PlotDimension,double[]> getDataForUsageType(ValueSource.SeriesUsageType usageType)

setDataForUsageType

public void setDataForUsageType(ValueSource.SeriesUsageType usageType,
                                java.util.Map<DimensionConfig.PlotDimension,double[]> data)

getSize

public int getSize()
Returns the number of data points in the DOMAIN dimension of the MAIN_SERIES series of this GroupCellData. All other usage types should have the same number of values.


initDataForUsageType

public java.util.Map<DimensionConfig.PlotDimension,double[]> initDataForUsageType(ValueSource.SeriesUsageType usageType,
                                                                                  java.lang.Iterable<DimensionConfig.PlotDimension> dimensions,
                                                                                  int valueCount)
Initializes a map from Dimension to double[] for the given SeriesUsageType. Each double array is initialized with size valueCount. The created map is added to this GroupCellData and then returned to the caller.



Copyright © 2001-2009 by Rapid-I