com.sapportals.htmlb

Interface IChartModel

All Known Implementing Classes:
DefaultChartModel, JCOChartModel, VectorChartModel

public interface IChartModel

Base data model for chart graphics

Copyright 2004 SAP AG


Field Summary
static String CLASS_NAME
           
static String PACKAGE_NAME
           
 
Method Summary
 int firstRow()
          reset model to the first data row
 String getColor()
          returns the COLOR value of the current row
 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 row pointer to next row
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values

PACKAGE_NAME

public static final String PACKAGE_NAME
See Also:
Constant Field Values
Method Detail

getNumColumns

public int getNumColumns()
Get the number of columns in this ChartModel

Returns:
number of columns

getNumRows

public int getNumRows()
Get the number of rows

Returns:
number of rows

getRow

public int getRow()
Get the current row

Returns:
the current row number

getRow

public int getRow(int which)
Get a specific row

Parameters:
which - the row number to query
Returns:
the row number choosen

firstRow

public int firstRow()
reset model to the first data row

Returns:
number of first row

nextRow

public boolean nextRow()
sets row pointer to next row

Returns:
number of next row

getFieldName

public String getFieldName(int which)
gets the given field's name

Returns:
the field's name

getFieldValue

public String getFieldValue(int which)
gets the given field's value

Returns:
the value of the field

getGroupId

public String getGroupId()
returns the GROUPID's value of the current row

Returns:
String of the Group's ID

getX

public String getX()
returns the X value of the current row

Returns:
String of the X value

getY

public String getY()
returns the Y value of the current row

Returns:
String of the Y value

getExtension

public String getExtension()
returns the EXTENSION value of the current row

Returns:
String of the EXTENSION value

getColor

public String getColor()
returns the COLOR value of the current row

Returns:
String of the COLOR value


Copyright 2006 SAP AG Complete Copyright Notice