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.11 by pjm2, Sun Jan 7 21:09:31 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 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;
35          _pd = pd;
36 +        _type = type;
37 +        _startDate = startDate;
38 +        _endDate = endDate;
39      
40      }
41  
# Line 53 | Line 57 | public class SHTMLMaker {
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);
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          
69          bw.flush();
70          bw.close();
71          
72 <        System.out.println("        - Written SHTML page");
72 >        System.out.println("            - Written SHTML page");
73          
74      }
75          
# Line 90 | Line 95 | public class SHTMLMaker {
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;
102      private PlotData _pd;
103 +    private int _type;
104 +    private long _startDate;
105 +    private long _endDate;
106  
107   //---STATIC ATTRIBUTES---
108  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines