jgnash.ui.report.compiled
Class AbstractSumByTypeReport
java.lang.Object
jgnash.ui.report.jasper.DynamicJasperReport
jgnash.ui.report.compiled.AbstractSumByTypeReport
- Direct Known Subclasses:
- BalanceSheetReport, NetWorthReport
abstract class AbstractSumByTypeReport
- extends DynamicJasperReport
Abstract Report that groups and sums by AccountGroup and has a line for a global sum
- Version:
- $Id$
- Author:
- Craig Cavanaugh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startDateField
private DatePanel startDateField
endDateField
private DatePanel endDateField
refreshButton
private javax.swing.JButton refreshButton
hideZeroBalanceAccounts
private javax.swing.JCheckBox hideZeroBalanceAccounts
HIDE_ZERO_BALANCE
private static final java.lang.String HIDE_ZERO_BALANCE
- See Also:
- Constant Field Values
MONTHS
private static final java.lang.String MONTHS
- See Also:
- Constant Field Values
AbstractSumByTypeReport
public AbstractSumByTypeReport()
refreshReport
protected void refreshReport()
- Overrides:
refreshReport in class DynamicJasperReport
getAccountGroups
protected abstract java.util.List<AccountGroup> getAccountGroups()
createTableModel
private AbstractSumByTypeReport.ReportModel createTableModel(java.util.Date startDate,
java.util.Date endDate)
getAccountList
private java.util.List<Account> getAccountList(java.util.Set<AccountType> types)
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
getReportController
public javax.swing.JPanel getReportController()
- Creates a report control panel. May return null if a panel is not used
- Specified by:
getReportController in class DynamicJasperReport
- Returns:
- control panel