| 23 |
|
|
| 24 |
|
//---CONSTRUCTORS--- |
| 25 |
|
|
| 26 |
< |
public SHTMLMaker(String metaDescription, String metaKeywords, String title, String graphFile, int width, int height, PlotData pd, int type, long startDate, long endDate){ |
| 26 |
> |
public SHTMLMaker(String metaDescription, String metaKeywords, String title, String friendlyName, String graphFile, int width, int height, PlotData pd, int type, long startDate, long endDate){ |
| 27 |
|
|
| 28 |
|
_metaDescription = metaDescription; |
| 29 |
|
_metaKeywords = metaKeywords; |
| 30 |
|
_title = title; |
| 31 |
+ |
_friendlyName = friendlyName; |
| 32 |
|
_graphFile = graphFile; |
| 33 |
|
_width = width; |
| 34 |
|
_height = height; |
| 57 |
|
|
| 58 |
|
IscreamLayout.printLeftMenu(bw); |
| 59 |
|
|
| 60 |
< |
IscreamLayout.printTitle(bw, _title); |
| 60 |
> |
IscreamLayout.printTitle(bw, _title+"<br>"+"("+_friendlyName+")"); |
| 61 |
|
|
| 62 |
|
IscreamLayout.printGraph(bw, _graphFile, _width, _height, _type, _startDate, _endDate); |
| 63 |
|
|
| 64 |
< |
IscreamLayout.printTable(bw, _pd); |
| 64 |
> |
// Let's leave this bit out for now... |
| 65 |
> |
//IscreamLayout.printTable(bw, _pd); |
| 66 |
|
|
| 67 |
|
IscreamLayout.printBottom(bw); |
| 68 |
|
|
| 95 |
|
private String _metaDescription; |
| 96 |
|
private String _metaKeywords; |
| 97 |
|
private String _title; |
| 98 |
+ |
private String _friendlyName; |
| 99 |
|
private String _graphFile; |
| 100 |
|
private int _width; |
| 101 |
|
private int _height; |