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, validateObjectpublic 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.KeyedValues2Dpublic int getRowIndex(java.lang.Comparable key)
getRowIndex in interface org.jfree.data.KeyedValues2Dpublic java.util.List getRowKeys()
getRowKeys in interface org.jfree.data.KeyedValues2Dpublic java.lang.Comparable getColumnKey(int column)
getColumnKey in interface org.jfree.data.KeyedValues2Dpublic int getColumnIndex(java.lang.Comparable key)
getColumnIndex in interface org.jfree.data.KeyedValues2Dpublic java.util.List<java.lang.String> getColumnKeys()
getColumnKeys in interface org.jfree.data.KeyedValues2Dpublic java.lang.Number getValue(java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
getValue in interface org.jfree.data.KeyedValues2Dpublic int getRowCount()
getRowCount in interface org.jfree.data.Values2Dpublic int getColumnCount()
getColumnCount in interface org.jfree.data.Values2Dpublic java.lang.Number getValue(int row,
int column)
getValue in interface org.jfree.data.Values2Dpublic org.jfree.data.Range getRangeBounds(boolean includeInterval)
getRangeBounds in interface org.jfree.data.RangeInfopublic double getRangeLowerBound(boolean includeInterval)
getRangeLowerBound in interface org.jfree.data.RangeInfopublic double getRangeUpperBound(boolean includeInterval)
getRangeUpperBound in interface org.jfree.data.RangeInfo