|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.JCOChartModel
Title: JCOChartModel Description: encapsulates a JCO table into the IChartModel data access interface.
Copyright 2004 SAP AG
| Field Summary | |
static String |
CLASS_NAME
|
static String |
PACKAGE_NAME
|
| Constructor Summary | |
JCOChartModel()
|
|
JCOChartModel(JCO.Table newDataSrc)
|
|
| Method Summary | |
int |
firstRow()
reset model to the first data row |
String |
getColor()
returns the COLOR value of the current row |
JCO.Table |
getDataSrc()
retrieves the actual dataSrc |
String |
getExtension()
returns the EXTENSION value of the current row |
String |
getFieldName(int which)
gets the given field's name |
String |
getFieldValue(int which)
gets the given field's value |
String |
getGroupId()
returns the GROUPID's value of the current row |
int |
getNumColumns()
Get the number of columns in this ChartModel |
int |
getNumRows()
Get the number of rows |
int |
getRow()
Get the current row |
int |
getRow(int which)
Get a specific row |
String |
getX()
returns the X value of the current row |
String |
getY()
returns the Y value of the current row |
boolean |
nextRow()
sets the row pointer to the next row available. |
void |
setDataSrc(JCO.Table newDataSrc)
set a JCO data table into this model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String CLASS_NAME
public static final String PACKAGE_NAME
| Constructor Detail |
public JCOChartModel()
public JCOChartModel(JCO.Table newDataSrc)
| Method Detail |
public void setDataSrc(JCO.Table newDataSrc)
newDataSrc - table of the chart data to be visualized.public JCO.Table getDataSrc()
public int getNumColumns()
IChartModel
getNumColumns in interface IChartModelpublic int getNumRows()
IChartModel
getNumRows in interface IChartModelpublic int getRow()
IChartModel
getRow in interface IChartModelpublic int getRow(int which)
IChartModel
getRow in interface IChartModelwhich - the row number to query
public int firstRow()
IChartModel
firstRow in interface IChartModelpublic boolean nextRow()
nextRow in interface IChartModelpublic String getFieldName(int which)
IChartModel
getFieldName in interface IChartModelpublic String getFieldValue(int which)
IChartModel
getFieldValue in interface IChartModelpublic String getGroupId()
getGroupId in interface IChartModelpublic String getX()
getX in interface IChartModelpublic String getY()
getY in interface IChartModelpublic String getExtension()
getExtension in interface IChartModelpublic String getColor()
getColor in interface IChartModel
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||