ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/SHTMLMaker.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter/SHTMLMaker.java (file contents):
Revision 1.3 by pjm2, Mon Dec 11 21:24:10 2000 UTC vs.
Revision 1.5 by pjm2, Sun Jan 7 12:49:28 2001 UTC

# Line 23 | Line 23 | public class SHTMLMaker {
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;
# Line 32 | Line 32 | public class SHTMLMaker {
32          _width = width;
33          _height = height;
34          _pd = pd;
35 +        _type = type;
36 +        _startDate = startDate;
37 +        _endDate = endDate;
38      
39      }
40  
# Line 55 | Line 58 | public class SHTMLMaker {
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);
64          
# Line 64 | Line 67 | public class SHTMLMaker {
67          bw.flush();
68          bw.close();
69          
70 <        System.out.println("        - Written SHTML page");
70 >        System.out.println("            - Written SHTML page");
71          
72      }
73          
# Line 94 | Line 97 | public class SHTMLMaker {
97      private int _width;
98      private int _height;
99      private PlotData _pd;
100 +    private int _type;
101 +    private long _startDate;
102 +    private long _endDate;
103  
104   //---STATIC ATTRIBUTES---
105  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines