public class CategoryDatasetImpl
extends org.jfree.data.general.AbstractDataset
implements org.jfree.data.category.CategoryDataset, org.jfree.data.RangeInfo
Modifier and Type | Field and Description |
---|---|
static int |
BY_COL |
static int |
BY_ROW |
protected java.util.List<java.lang.String> |
colHeaders |
protected Dataset |
dataset |
protected double |
maxValue |
protected double |
minValue |
protected int |
order |
protected org.jfree.data.Range |
range |
protected java.util.List<java.lang.String> |
rowHeaders |
Constructor and Description |
---|
CategoryDatasetImpl(Dataset dataset,
int order) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
int |
getColumnIndex(java.lang.Comparable key) |
java.lang.Comparable |
getColumnKey(int column) |
java.util.List<java.lang.String> |
getColumnKeys() |
org.jfree.data.Range |
getRangeBounds(boolean includeInterval) |
double |
getRangeLowerBound(boolean includeInterval) |
double |
getRangeUpperBound(boolean includeInterval) |
int |
getRowCount() |
int |
getRowIndex(java.lang.Comparable key) |
java.lang.Comparable |
getRowKey(int row) |
java.util.List |
getRowKeys() |
java.lang.Number |
getValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey) |
java.lang.Number |
getValue(int row,
int column) |
protected void |
setDataset(Dataset ds) |
addChangeListener, clone, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject
public static final int BY_ROW
public static final int BY_COL
protected Dataset dataset
protected final int order
protected java.util.List<java.lang.String> rowHeaders
protected java.util.List<java.lang.String> colHeaders
protected double minValue
protected double maxValue
protected org.jfree.data.Range range
public CategoryDatasetImpl(Dataset dataset, int order)
protected void setDataset(Dataset ds)
public java.lang.Comparable getRowKey(int row)
getRowKey
in interface org.jfree.data.KeyedValues2D
public int getRowIndex(java.lang.Comparable key)
getRowIndex
in interface org.jfree.data.KeyedValues2D
public java.util.List getRowKeys()
getRowKeys
in interface org.jfree.data.KeyedValues2D
public java.lang.Comparable getColumnKey(int column)
getColumnKey
in interface org.jfree.data.KeyedValues2D
public int getColumnIndex(java.lang.Comparable key)
getColumnIndex
in interface org.jfree.data.KeyedValues2D
public java.util.List<java.lang.String> getColumnKeys()
getColumnKeys
in interface org.jfree.data.KeyedValues2D
public java.lang.Number getValue(java.lang.Comparable rowKey, java.lang.Comparable columnKey)
getValue
in interface org.jfree.data.KeyedValues2D
public int getRowCount()
getRowCount
in interface org.jfree.data.Values2D
public int getColumnCount()
getColumnCount
in interface org.jfree.data.Values2D
public java.lang.Number getValue(int row, int column)
getValue
in interface org.jfree.data.Values2D
public org.jfree.data.Range getRangeBounds(boolean includeInterval)
getRangeBounds
in interface org.jfree.data.RangeInfo
public double getRangeLowerBound(boolean includeInterval)
getRangeLowerBound
in interface org.jfree.data.RangeInfo
public double getRangeUpperBound(boolean includeInterval)
getRangeUpperBound
in interface org.jfree.data.RangeInfo