public class TSVGAlarmOverview extends java.lang.Object implements TWebView
Constructor and Description |
---|
TSVGAlarmOverview(TDataBox box) |
TSVGAlarmOverview(TDataBox box,
java.util.List alarmSeverities) |
Modifier and Type | Method and Description |
---|---|
SVGBarChart |
getBarChart() |
TDataBox |
getDataBox()
Gets the databox connect to this view
This databox provides data for this view.
|
SVGPieChart |
getPieChart() |
java.lang.String |
getType() |
boolean |
isTextEscape() |
void |
setDataBox(TDataBox box)
Sets databox for this view.
|
void |
setTextEscape(boolean textEscape) |
void |
setType(java.lang.String type) |
java.lang.String |
toBarChartSVG(SVGContext context,
int width,
int height) |
java.lang.String |
toPieChartSVG(SVGContext context,
int width,
int height) |
java.lang.String |
toXML(int width,
int height) |
java.lang.String |
toXML(SVGContext context,
int width,
int height) |
void |
updateTViewUI()
Uses the method to update TView's UI.
|
public TSVGAlarmOverview(TDataBox box)
public TSVGAlarmOverview(TDataBox box, java.util.List alarmSeverities)
public boolean isTextEscape()
public void setTextEscape(boolean textEscape)
public void setDataBox(TDataBox box)
TView
setDataBox
in interface TView
box
- TDataBox the databox of this viewTView.getDataBox()
public TDataBox getDataBox()
TView
getDataBox
in interface TView
TView.setDataBox(twaver.TDataBox)
public void updateTViewUI()
TView
updateTViewUI
in interface TView
public java.lang.String toBarChartSVG(SVGContext context, int width, int height)
public java.lang.String toPieChartSVG(SVGContext context, int width, int height)
public SVGBarChart getBarChart()
public SVGPieChart getPieChart()
public java.lang.String toXML(int width, int height)
public java.lang.String toXML(SVGContext context, int width, int height)
public void setType(java.lang.String type)
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.