Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.sourceforge.ProDBA.WebExport.query_output
Class HeaderBand  view HeaderBand download HeaderBand.java

java.lang.Object
  extended byorg.sourceforge.ProDBA.WebExport.query_output.HeaderBand

public class HeaderBand
extends java.lang.Object

HeaderBand is the part QueryOutput responsible for holding information that's displayed at the top of report data like the name of the report, the date/time the report was generated, and the column labels.

Version:
0.0

Field Summary
private  java.lang.String[] columnLabels
          The labels displayed for columns of report data.
private  java.lang.String reportName
          The name of the report (i.e.
 
Constructor Summary
HeaderBand(java.lang.String reportName, java.lang.String[] columnLabels)
          Constructs a default HeaderBand.
 
Method Summary
 java.util.Date calcDateGenerated()
          Useful for displaying the approximate date and time a report was generated.
 java.lang.String[] getColumnLabels()
          Useful for displaying column labels over report data.
 java.lang.String getReportName()
          Useful for displaying the name of a report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reportName

private java.lang.String reportName
The name of the report (i.e. Fiscal Budget Spending).


columnLabels

private java.lang.String[] columnLabels
The labels displayed for columns of report data.

Constructor Detail

HeaderBand

public HeaderBand(java.lang.String reportName,
                  java.lang.String[] columnLabels)
Constructs a default HeaderBand.

Method Detail

getReportName

public java.lang.String getReportName()
Useful for displaying the name of a report.


getColumnLabels

public java.lang.String[] getColumnLabels()
Useful for displaying column labels over report data.


calcDateGenerated

public java.util.Date calcDateGenerated()
Useful for displaying the approximate date and time a report was generated.