|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.chart.computation.Methods
org.eclipse.birt.chart.datafeed.DataSetAdapter
public class DataSetAdapter
Provides a no-op implementation of the
IDataSetProcessorinterface
definition to be subclassed by each extension writer as needed.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.birt.chart.computation.IConstants |
|---|
ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BOTTOM, CENTER, COLLECTION, DATE_TIME, DESIGN_TIME, EMPTY_STRING, EQUAL, FORWARD, HORIZONTAL, INSIDE, LABELS, LEFT, LEGEND_ENTRY, LEGEND_GROUP_NAME, LEGEND_MINSLICE_ENTRY, LEGEND_SEPERATOR, LESS, LINE_EXPAND_DOUBLE_SIZE, LINE_EXPAND_SIZE, LINEAR, LOG_10, LOGARITHMIC, MAJOR, MAX, MIN, MINOR, MORE, NON_PRIMITIVE_ARRAY, NULL_STRING, NUMERICAL, ONE_SPACE, ORTHOGONAL, ORTHOGONAL_AXIS, OTHER, OUTSIDE, PERCENT, POSITION_MASK, POSITION_MOVE_ABOVE, POSITION_MOVE_BELOW, POSITION_MOVE_LEFT, POSITION_MOVE_RIGHT, PRIMITIVE_ARRAY, RIGHT, RUN_TIME, SOME_NULL, TEXT, THREE_D, TICK_ABOVE, TICK_ACROSS, TICK_BELOW, TICK_LEFT, TICK_NONE, TICK_RIGHT, TICK_SIDE1, TICK_SIDE2, TICK_SIZE, TOP, TWO_5_D, TWO_D, UNDEFINED, UNDEFINED_STRING, USER_INTERFACE, VALUE, VERTICAL |
| Constructor Summary | |
|---|---|
DataSetAdapter()
|
|
| Method Summary | |
|---|---|
DataSet |
fromString(java.lang.String sDataSetRepresentation,
DataSet ds)
Attempts to parse a line of text representing multiple values of a specific data element type and updates an existing data set or creates a new data set filled with these values. |
java.util.List |
getDataDefinitionsForGrouping(Series series)
Provides a list of data definitions for grouping. |
java.lang.String |
getExpectedStringFormat()
|
java.util.Locale |
getLocale()
Provides the locale to device renderer implementations as needed to retrieve localized resources for presentation. |
java.lang.Object |
getMaximum(DataSet ds)
Causes implementation specific data set processor classes to compute the maximum value in a data set of a specific series type. |
java.lang.Object |
getMinimum(DataSet ds)
Causes implementation specific data set processor classes to compute the minimum value in a data set of a specific series type. |
com.ibm.icu.util.ULocale |
getULocale()
Provides the locale to device renderer implementations as needed to retrieve localized resources for presentation. |
DataSet |
populate(java.lang.Object oResultSetDef,
DataSet ds)
Populates a data set with data element values retrieved from a result set created as a result of query execution |
void |
setLocale(com.ibm.icu.util.ULocale lcl)
A convenience method provided to associate a locale with a display server |
java.lang.String |
toString(java.lang.Object[] columnData)
Attempts to format a column of data to string. |
| Methods inherited from class org.eclipse.birt.chart.computation.Methods |
|---|
asDateTime, asDouble, asInteger, computeBox, computeBox, computeBox, computeFontHeight, computeHeight, computeLabelSize, computeLimitedLabelSize, computePolygon, computePolygon, computeRotatedTopPoint, computeWidth, getLabelPosition, getLocation, getLocation, getLocation, getNormalizedLocation, getNormalizedLocation, limitDataPointLabelLocation |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSetAdapter()
| Method Detail |
|---|
public DataSet fromString(java.lang.String sDataSetRepresentation,
DataSet ds)
throws ChartException
IDataSetProcessor
fromString in interface IDataSetProcessorsDataSetRepresentation - A line of text containing a list of data element values that
may be parsed.ds - An existing data set (or null for a new one) that needs to be
filled with data elements created by parsing the line of text
as per the expected string format.
ChartException
public DataSet populate(java.lang.Object oResultSetDef,
DataSet ds)
throws ChartException
IDataSetProcessor
populate in interface IDataSetProcessoroResultSetDef - An instance of a generic result set that is host application
specific. For BIRT, the result set class is ResultSetDataSetds - An existing data set (or null for a new one) that needs to be
filled with with data elements extracted from the result set
definition
ChartException
public java.lang.Object getMinimum(DataSet ds)
throws ChartException
IDataSetProcessor
getMinimum in interface IDataSetProcessords - The data set for which the minimum value needs to be computed
ChartException
public java.lang.Object getMaximum(DataSet ds)
throws ChartException
IDataSetProcessor
getMaximum in interface IDataSetProcessords - The data set for which the maximum value needs to be computed
ChartExceptionpublic java.lang.String getExpectedStringFormat()
getExpectedStringFormat in interface IDataSetProcessorpublic java.util.Locale getLocale()
IDataSetProcessor
getLocale in interface IDataSetProcessorpublic com.ibm.icu.util.ULocale getULocale()
IDataSetProcessor
getULocale in interface IDataSetProcessorpublic final void setLocale(com.ibm.icu.util.ULocale lcl)
lcl - The locale to be set
public java.lang.String toString(java.lang.Object[] columnData)
throws ChartException
IDataSetProcessor
toString in interface IDataSetProcessorcolumnData - array of column data. All elements have same class type.
ChartExceptionpublic java.util.List getDataDefinitionsForGrouping(Series series)
IDataSetProcessor
getDataDefinitionsForGrouping in interface IDataSetProcessorseries - series to get data definitions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||