| 23 |
|
|
| 24 |
|
//---CONSTRUCTORS--- |
| 25 |
|
|
| 26 |
< |
public SHTMLMaker(String metaDescription, String metaKeywords, String title, String graphFile, int width, int height, PlotData pd){ |
| 26 |
> |
public SHTMLMaker(String metaDescription, String metaKeywords, String title, String graphFile, int width, int height, PlotData pd, int type, long startDate, long endDate){ |
| 27 |
|
|
| 28 |
|
_metaDescription = metaDescription; |
| 29 |
|
_metaKeywords = metaKeywords; |
| 32 |
|
_width = width; |
| 33 |
|
_height = height; |
| 34 |
|
_pd = pd; |
| 35 |
+ |
_type = type; |
| 36 |
+ |
_startDate = startDate; |
| 37 |
+ |
_endDate = endDate; |
| 38 |
|
|
| 39 |
|
} |
| 40 |
|
|
| 58 |
|
|
| 59 |
|
IscreamLayout.printTitle(bw, _title); |
| 60 |
|
|
| 61 |
< |
IscreamLayout.printGraph(bw, _graphFile, _width, _height); |
| 61 |
> |
IscreamLayout.printGraph(bw, _graphFile, _width, _height, _type, _startDate, _endDate); |
| 62 |
|
|
| 63 |
< |
IscreamLayout.printTable(bw, _pd); |
| 63 |
> |
// Let's leave this bit out for now... |
| 64 |
> |
//IscreamLayout.printTable(bw, _pd); |
| 65 |
|
|
| 66 |
|
IscreamLayout.printBottom(bw); |
| 67 |
|
|
| 98 |
|
private int _width; |
| 99 |
|
private int _height; |
| 100 |
|
private PlotData _pd; |
| 101 |
+ |
private int _type; |
| 102 |
+ |
private long _startDate; |
| 103 |
+ |
private long _endDate; |
| 104 |
|
|
| 105 |
|
//---STATIC ATTRIBUTES--- |
| 106 |
|
|