public class CategoryDatasetFrequencyAdaptor extends org.jfree.data.general.AbstractDataset implements org.jfree.data.category.CategoryDataset, Serializable
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Integer> |
columnMap |
protected ArrayList<String> |
columns |
protected org.apache.commons.math3.stat.Frequency |
frequency |
protected HashMap<String,Comparable<?>> |
objectMap |
static String |
ROW |
Constructor and Description |
---|
CategoryDatasetFrequencyAdaptor(org.apache.commons.math3.stat.Frequency frequency) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
fireDatasetChanged() |
int |
getColumnCount() |
int |
getColumnIndex(Comparable key) |
Comparable |
getColumnKey(int column) |
List |
getColumnKeys() |
int |
getRowCount() |
int |
getRowIndex(Comparable key) |
Comparable |
getRowKey(int row) |
List |
getRowKeys() |
Number |
getValue(Comparable rowKey,
Comparable columnKey) |
Number |
getValue(int row,
int column) |
void |
updateCategories() |
addChangeListener, clone, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObject
protected org.apache.commons.math3.stat.Frequency frequency
public static final String ROW
protected HashMap<String,Comparable<?>> objectMap
public CategoryDatasetFrequencyAdaptor(org.apache.commons.math3.stat.Frequency frequency)
public void updateCategories()
public void clear()
public void fireDatasetChanged()
fireDatasetChanged
in class org.jfree.data.general.AbstractDataset
public int getColumnIndex(Comparable key)
getColumnIndex
in interface org.jfree.data.KeyedValues2D
public Comparable getColumnKey(int column)
getColumnKey
in interface org.jfree.data.KeyedValues2D
public List getColumnKeys()
getColumnKeys
in interface org.jfree.data.KeyedValues2D
public int getRowIndex(Comparable key)
getRowIndex
in interface org.jfree.data.KeyedValues2D
public Comparable getRowKey(int row)
getRowKey
in interface org.jfree.data.KeyedValues2D
public List getRowKeys()
getRowKeys
in interface org.jfree.data.KeyedValues2D
public Number getValue(Comparable rowKey, Comparable columnKey)
getValue
in interface org.jfree.data.KeyedValues2D
public int getColumnCount()
getColumnCount
in interface org.jfree.data.Values2D
public int getRowCount()
getRowCount
in interface org.jfree.data.Values2D
public Number getValue(int row, int column)
getValue
in interface org.jfree.data.Values2D
Copyright © 2014. All rights reserved.