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.8 by pjm2, Sun Jan 7 13:49:54 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);
63 >        // Let's leave this bit out for now...
64 >        //IscreamLayout.printTable(bw, _pd);
65          
66          IscreamLayout.printBottom(bw);
67          
68          bw.flush();
69          bw.close();
70          
71 <        System.out.println("        - Written SHTML page");
71 >        System.out.println("            - Written SHTML page");
72          
73      }
74          
# Line 94 | Line 98 | public class SHTMLMaker {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines