|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.ui.util.LINECHARTInfo
public class LINECHARTInfo
Server-side representative for LINECHART control. Use methods createSeries
and
addPoint
to display one line with in the chart control.
Constructor Summary | |
---|---|
LINECHARTInfo()
|
Method Summary | |
---|---|
void |
addPoint(java.lang.String id,
long time,
double value)
|
void |
clear()
Clears the series added to the widget. |
boolean |
containsSeries(java.lang.String id)
Method returns true if the given series is already created. |
void |
createSeries(java.lang.String id,
java.lang.String label,
java.lang.String unitOfMeasure,
java.lang.String color)
Method creates a new series. |
long |
getChangeIndex()
|
java.lang.String |
getEndDate()
Get the end range date. |
com.softwareag.cis.server.util.LINECHARTInfoSeries[] |
getLineChartSeries()
|
java.lang.String |
getStartDate()
Get the start range date. |
void |
removeSeries(java.lang.String id)
Method removes the given series id. |
void |
setEndDate(java.lang.String date)
Set the end range date. |
void |
setStartDate(java.lang.String date)
Set the start range date. |
void |
updateSeries(java.lang.String id,
java.lang.String label,
java.lang.String unitOfMeasure,
java.lang.String color)
Method updates the given series id. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LINECHARTInfo()
Method Detail |
---|
public java.lang.String getEndDate()
public void setEndDate(java.lang.String date)
public java.lang.String getStartDate()
public void setStartDate(java.lang.String date)
public long getChangeIndex()
public void removeSeries(java.lang.String id)
id
- series identifier - not display at UIpublic void updateSeries(java.lang.String id, java.lang.String label, java.lang.String unitOfMeasure, java.lang.String color)
id
- series identifier - not display at UIlabel
- text that is displayed in legend of widgetunitOfMeasure
- text that is displayed in legend of widgetcolor
- RRGGBB string (e.g. 0000FF for blue color)public boolean containsSeries(java.lang.String id)
id
- series identifier - not display at UI
public void createSeries(java.lang.String id, java.lang.String label, java.lang.String unitOfMeasure, java.lang.String color)
id
- series identifier - not display at UIlabel
- text that is displayed in legend of widgetunitOfMeasure
- text that is displayed in legend of widgetcolor
- RRGGBB string (e.g. 0000FF for blue color)public void addPoint(java.lang.String id, long time, double value)
id
- series identifier as defined in method call createSeries
time
- time in milliseconds the value is added forvalue
- defines a point in timepublic com.softwareag.cis.server.util.LINECHARTInfoSeries[] getLineChartSeries()
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |