jgnash.ui.report.compiled
Class AccountRegisterReport

java.lang.Object
  extended by jgnash.ui.report.jasper.DynamicJasperReport
      extended by jgnash.ui.report.compiled.AccountRegisterReport

public class AccountRegisterReport
extends DynamicJasperReport

Account Register Report

Version:
$Id$
Author:
Craig Cavanaugh

Nested Class Summary
private  class AccountRegisterReport.ReportTableModel
           
 
Field Summary
private  AccountListComboBox accountCombo
           
private  javax.swing.JCheckBox detailSplitsCheckBox
           
private  DatePanel endDateField
           
private  int endIndex
           
private  javax.swing.JCheckBox filterCheckBox
           
private static java.lang.String FILTERTAG
           
private  javax.swing.JButton refreshButton
           
private static java.lang.String SHOW_DETAILS
           
private  DatePanel startDateField
           
private  int startIndex
           
private  java.awt.TextField txtFilter
           
 
Fields inherited from class jgnash.ui.report.jasper.DynamicJasperReport
logger, rb
 
Constructor Summary
AccountRegisterReport(Account account)
           
AccountRegisterReport(Account account, int startIndex, int endIndex)
           
 
Method Summary
private  javax.swing.JPanel createDatePanel()
           
private  javax.swing.JPanel createFilterPanel()
           
 net.sf.jasperreports.engine.JasperPrint createJasperPrint(boolean formatForCSV)
          Creates a JasperPrint object.
 java.lang.String getGrandTotalLegend()
          Returns the legend for the grand total
 java.lang.String getGroupFooterLabel()
          Returns the general label for the group footer
 javax.swing.JPanel getReportController()
          Creates a report control panel.
 java.lang.String getReportName()
          Returns the name of the report
 
Methods inherited from class jgnash.ui.report.jasper.DynamicJasperReport
createJasperPrint, getPageFormat, getPreferences, getSubTitle, refreshReport, setPageFormat, setViewer, showReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountCombo

private AccountListComboBox accountCombo

refreshButton

private javax.swing.JButton refreshButton

startDateField

private DatePanel startDateField

endDateField

private DatePanel endDateField

detailSplitsCheckBox

private javax.swing.JCheckBox detailSplitsCheckBox

SHOW_DETAILS

private static final java.lang.String SHOW_DETAILS
See Also:
Constant Field Values

filterCheckBox

private javax.swing.JCheckBox filterCheckBox

FILTERTAG

private static final java.lang.String FILTERTAG
See Also:
Constant Field Values

txtFilter

private java.awt.TextField txtFilter

startIndex

private int startIndex

endIndex

private int endIndex
Constructor Detail

AccountRegisterReport

public AccountRegisterReport(Account account)

AccountRegisterReport

public AccountRegisterReport(Account account,
                             int startIndex,
                             int endIndex)
Method Detail

createJasperPrint

public net.sf.jasperreports.engine.JasperPrint createJasperPrint(boolean formatForCSV)
Creates a JasperPrint object.

Specified by:
createJasperPrint in class DynamicJasperReport
Parameters:
formatForCSV - true if the report should be formated for CSV export
Returns:
JasperPrint object

getReportController

public javax.swing.JPanel getReportController()
Creates a report control panel. May return null if a panel is not used The ReportController is responsible for dynamic report options with the exception of page format options

Specified by:
getReportController in class DynamicJasperReport
Returns:
control panel

createDatePanel

private javax.swing.JPanel createDatePanel()

createFilterPanel

private javax.swing.JPanel createFilterPanel()

getReportName

public java.lang.String getReportName()
Returns the name of the report

Specified by:
getReportName in class DynamicJasperReport
Returns:
report name

getGrandTotalLegend

public java.lang.String getGrandTotalLegend()
Returns the legend for the grand total

Specified by:
getGrandTotalLegend in class DynamicJasperReport
Returns:
report name

getGroupFooterLabel

public java.lang.String getGroupFooterLabel()
Returns the general label for the group footer

Specified by:
getGroupFooterLabel in class DynamicJasperReport
Returns:
footer label