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.

Properties

Name Description
DataInterpretation The DataInterpretation property is responsible for what format is the data in. Note that this is inherited from Chartable interface.
DataItem The DataItem property specifies a data item from the data source. Note that this is inherited from Chartable interface.
Name The Name property defines the name of the data object. Note that this is inherited from Chartable interface.
NumRows The NumRows property of the data source, which specifies the number of rows of data available. Note that this is inherited from Chartable interface.
PointLabels The value of the PointLabels property. The PointLabels property is an indexed property that contains a list of point labels provided by the data source. Note that this is inherited from Chartable interface.
Row The Row property specifies an entire row of data items. Note that this is inherited from Chartable interface.
SeriesLabel The value of the SeriesLabel property. The SeriesLabel property defines the label that is associated with a data series. The SeriesLabel can be unparsed JCString text, whereas SeriesName is a name used for retrieving data series. Note that this is inherited from Chartable interface.
SeriesName The value of the SeriesName property. The SeriesName property is a string associated with a row in a data source. It is used by ChartDataView as the name for a data series. Note that this is inherited from Chartable interface.


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