| java.lang.Object de.progra.charting.model.DefaultDataSet de.progra.charting.model.EditableDataSet
EditableDataSet | public class EditableDataSet extends DefaultDataSet (Code) | | This is an editable DataSet implementation.
author: mueller version: 1.0 |
Constructor Summary | |
public | EditableDataSet() Creates a new empty EditableDataSet with default axis binding. | public | EditableDataSet(int axis) Creates a new empty EditableDataSet with the given
Axis binding. | public | EditableDataSet(Object[] data, Object[] columns, int axis) Creates a new EditableDataSet with the given data and
the Axis binding.
Parameters: data - the DataSet values Parameters: columns - the DataSet columns, the value and the column array should have the same length. | public | EditableDataSet(Object[] data, Object[] columns, int axis, String title) Creates a new EditableDataSet with the given data and
the Axis binding.
Parameters: data - the DataSet values Parameters: columns - the DataSet columns, the value and the column array should have the same length. |
Method Summary | |
public void | insertValue(Object value, Object column) Inserts the given column/value pair at the right position, which is
determined through a binary search. | public void | removeValue(int index) |
EditableDataSet | public EditableDataSet()(Code) | | Creates a new empty EditableDataSet with default axis binding.
|
EditableDataSet | public EditableDataSet(int axis)(Code) | | Creates a new empty EditableDataSet with the given
Axis binding.
|
EditableDataSet | public EditableDataSet(Object[] data, Object[] columns, int axis)(Code) | | Creates a new EditableDataSet with the given data and
the Axis binding.
Parameters: data - the DataSet values Parameters: columns - the DataSet columns, the value and the column array should have the same length. The column array has to be sorted. Parameters: axis - the Axis binding |
EditableDataSet | public EditableDataSet(Object[] data, Object[] columns, int axis, String title)(Code) | | Creates a new EditableDataSet with the given data and
the Axis binding.
Parameters: data - the DataSet values Parameters: columns - the DataSet columns, the value and the column array should have the same length. The column array has to be sorted! Parameters: axis - the Axis binding |
insertValue | public void insertValue(Object value, Object column)(Code) | | Inserts the given column/value pair at the right position, which is
determined through a binary search. If the column is contained in the
column set, setValueAt is called.
Parameters: value - the value to be stored Parameters: column - the column value corresponding to value |
removeValue | public void removeValue(int index)(Code) | | |
|
|