|
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.VectorChartModel
Vector based model for a Chart control
Copyright 2004 SAP AG
| Field Summary |
| Fields inherited from interface com.sapportals.htmlb.IChartModel |
CLASS_NAME, PACKAGE_NAME |
| Constructor Summary | |
VectorChartModel()
Create a new DefaultListModel. |
|
| Method Summary | |
void |
addItem(String groupid,
String x,
String y,
String color,
String extension)
adds an item to the list of choices. |
void |
addItem(String groupid,
String x,
String y,
String color,
String url,
String altText)
adds a new item to the data table. |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VectorChartModel()
| Method Detail |
public void addItem(String groupid,
String x,
String y,
String color,
String extension)
groupid - the item's group namex - the item's category namey - the item's valuecolor - the item's user defined colorextension - the item's extension data for HREF and ALTernate text
public void addItem(String groupid,
String x,
String y,
String color,
String url,
String altText)
groupid - name of the seriesx - name of the categoryy - value of the objectcolor - custom defined color valueurl - adds a http url link to the graph's objectaltText - adds an alternative text to the graph's object, which will be displayed as a tooltip.public 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()
IChartModel
nextRow in interface IChartModelpublic String getFieldName(int which)
IChartModel
getFieldName in interface IChartModelpublic String getFieldValue(int which)
IChartModel
getFieldValue in interface IChartModelpublic String getGroupId()
IChartModel
getGroupId in interface IChartModelpublic String getX()
IChartModel
getX in interface IChartModelpublic String getY()
IChartModel
getY in interface IChartModelpublic String getExtension()
IChartModel
getExtension in interface IChartModelpublic String getColor()
IChartModel
getColor in interface IChartModelpublic int getNumColumns()
IChartModel
getNumColumns in interface IChartModelpublic int getNumRows()
getNumRows in interface IChartModel
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||