Java org.jfree.data.category DefaultCategoryDataset fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.data.category DefaultCategoryDataset fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.data.category DefaultCategoryDataset.

The text is from its open source code.

Subclass

org.jfree.data.category.DefaultCategoryDataset has subclasses.
Click this link to see all its subclasses.

Constructor

DefaultCategoryDataset()
Creates a new (empty) dataset.

Method

voidaddValue(Number value, Comparable rowKey, Comparable columnKey)
Adds a value to the table.
voidaddValue(double value, Comparable rowKey, Comparable columnKey)
Adds a value to the table.
voidclear()
Clears all data from the dataset and sends a DatasetChangeEvent to all registered listeners.
Objectclone()
Returns a clone of the dataset.
booleanequals(Object obj)
Tests this dataset for equality with an arbitrary object.
ClassgetClass()
Returns the runtime class of this Object .
intgetColumnCount()
Returns the number of columns in the table.
intgetColumnIndex(Comparable key)
Returns the column index for a given key.
ComparablegetColumnKey(int column)
Returns a column key.
ListgetColumnKeys()
Returns the column keys.
intgetRowCount()
Returns the number of rows in the table.
intgetRowIndex(Comparable key)
Returns the row index for a given key.
ComparablegetRowKey(int row)
Returns the key for the specified row.
ListgetRowKeys()
Returns the row keys.
NumbergetValue(int row, int column)
Returns a value from the table.
NumbergetValue(Comparable rowKey, Comparable columnKey)
Returns the value for a pair of keys.
voidincrementValue(double value, Comparable rowKey, Comparable columnKey)
Adds the specified value to an existing value in the dataset (if the existing value is null, it is treated as if it were 0.0).
voidremoveColumn(int columnIndex)
Removes a column from the dataset and sends a DatasetChangeEvent to all registered listeners.
voidremoveColumn(Comparable columnKey)
Removes a column from the dataset and sends a DatasetChangeEvent to all registered listeners.
voidremoveRow(int rowIndex)
Removes a row from the dataset and sends a DatasetChangeEvent to all registered listeners.
voidremoveRow(Comparable rowKey)
Removes a row from the dataset and sends a DatasetChangeEvent to all registered listeners.
voidremoveValue(Comparable rowKey, Comparable columnKey)
Removes a value from the dataset and sends a DatasetChangeEvent to all registered listeners.
voidsetGroup(DatasetGroup group)
Sets the dataset group for the dataset.
voidsetValue(Number value, Comparable rowKey, Comparable columnKey)
Adds or updates a value in the table and sends a DatasetChangeEvent to all registered listeners.
voidsetValue(double value, Comparable rowKey, Comparable columnKey)
Adds or updates a value in the table and sends a DatasetChangeEvent to all registered listeners.