All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jclass.chart.EditableChartable

public interface EditableChartable
extends Chartable
EditableChartable is an interface used to represent a chartable object that can be modified by Chart. By implementing this interface, any arbitrary object can be provided as a data source for ChartDataView. Note that this interface extends Chartable.


Method Index

 o setDataItem(int, int, Object)
Sets a data item in the data source.

Methods

 o setDataItem
 public abstract boolean setDataItem(int row,
                                     int column,
                                     Object item)
Sets a data item in the data source. Since DataSource is an Observable object, setDataItem() will cause a model-view update that will pass the new value back to the Observer. This will allow DataSource-side constraints to be placed on data.

Parameters:
row - row index
column - column index
item - new data item, not necessarily the final value assigned to item (row, column)
Returns:
a boolean signifying whether or not the change was accepted

All Packages  Class Hierarchy  This Package  Previous  Next  Index