Save This Page
Home » jcommon-1.0.13 » org.jfree » data » statistics » [javadoc | source]
org.jfree.data.statistics
public class: DefaultMultiValueCategoryDataset [javadoc | source]
java.lang.Object
   org.jfree.data.general.AbstractDataset
      org.jfree.data.statistics.DefaultMultiValueCategoryDataset

All Implemented Interfaces:
    PublicCloneable, RangeInfo, MultiValueCategoryDataset, Cloneable, Dataset, ObjectInputValidation, Serializable

A category dataset that defines multiple values for each item.
Field Summary
protected  KeyedObjects2D data    Storage for the data. 
Constructor:
 public DefaultMultiValueCategoryDataset() 
Method from org.jfree.data.statistics.DefaultMultiValueCategoryDataset Summary:
add,   clone,   equals,   getColumnCount,   getColumnIndex,   getColumnKey,   getColumnKeys,   getRangeBounds,   getRangeLowerBound,   getRangeUpperBound,   getRowCount,   getRowIndex,   getRowKey,   getRowKeys,   getValue,   getValue,   getValues,   getValues
Methods from org.jfree.data.general.AbstractDataset:
addChangeListener,   clone,   fireDatasetChanged,   getGroup,   hasListener,   notifyListeners,   removeChangeListener,   setGroup,   validateObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.data.statistics.DefaultMultiValueCategoryDataset Detail:
 public  void add(List values,
    Comparable rowKey,
    Comparable columnKey) 
    Adds a list of values to the dataset (null and Double.NaN items are automatically removed) and sends a DatasetChangeEvent to all registered listeners.
 public Object clone() throws CloneNotSupportedException 
    Returns a clone of this instance.
 public boolean equals(Object obj) 
    Tests this dataset for equality with an arbitrary object.
 public int getColumnCount() 
    Returns the number of columns in the table.
 public int getColumnIndex(Comparable key) 
    Returns the column index for a given key.
 public Comparable getColumnKey(int column) 
    Returns a column key.
 public List getColumnKeys() 
    Returns the column keys.
 public Range getRangeBounds(boolean includeInterval) 
    Returns the range of the values in this dataset's range.
 public double getRangeLowerBound(boolean includeInterval) 
    Returns the minimum y-value in the dataset.
 public double getRangeUpperBound(boolean includeInterval) 
    Returns the maximum y-value in the dataset.
 public int getRowCount() 
    Returns the number of rows in the table.
 public int getRowIndex(Comparable key) 
    Returns the row index for a given key.
 public Comparable getRowKey(int row) 
    Returns a row key.
 public List getRowKeys() 
    Returns the row keys.
 public Number getValue(Comparable row,
    Comparable column) 
    Returns the average value for the specified item.
 public Number getValue(int row,
    int column) 
    Returns the average value for the specified item.
 public List getValues(int row,
    int column) 
    Returns a list (possibly empty) of the values for the specified item. The returned list should be unmodifiable.
 public List getValues(Comparable rowKey,
    Comparable columnKey) 
    Returns a list (possibly empty) of the values for the specified item. The returned list should be unmodifiable.