jgnash.ui.report.compiled
Class MonthlyAccountBalanceChart

java.lang.Object
  extended by jgnash.ui.report.compiled.MonthlyAccountBalanceChart

public class MonthlyAccountBalanceChart
extends java.lang.Object

This displays a dialog that shows the monthly balance for a selected account

Version:
$Id$
Author:
Craig Cavanaugh, Dany Veilleux, Peter Vida

Field Summary
private  FilteredAccountListComboBox combo
           
private  DatePanel endDateField
           
private  javax.swing.JCheckBox hideLockedAccountCheckBox
           
private  javax.swing.JCheckBox hidePlaceholderAccountCheckBox
           
private  Resource rb
           
private  DatePanel startDateField
           
private  javax.swing.JCheckBox subAccountCheckBox
           
 
Constructor Summary
MonthlyAccountBalanceChart()
           
 
Method Summary
private static java.math.BigDecimal calculateTotal(java.util.Date start, java.util.Date end, Account account, CurrencyNode baseCurrency)
           
private  javax.swing.JPanel createPanel()
           
private  org.jfree.data.time.TimeSeriesCollection createTimeSeriesCollection(Account account)
           
private  org.jfree.chart.JFreeChart createVerticalXYBarChart(Account a)
           
static void show()
           
private  void updateSubAccountBox()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

combo

private FilteredAccountListComboBox combo

rb

private Resource rb

startDateField

private DatePanel startDateField

endDateField

private DatePanel endDateField

subAccountCheckBox

private javax.swing.JCheckBox subAccountCheckBox

hideLockedAccountCheckBox

private javax.swing.JCheckBox hideLockedAccountCheckBox

hidePlaceholderAccountCheckBox

private javax.swing.JCheckBox hidePlaceholderAccountCheckBox
Constructor Detail

MonthlyAccountBalanceChart

public MonthlyAccountBalanceChart()
Method Detail

show

public static void show()

createPanel

private javax.swing.JPanel createPanel()

updateSubAccountBox

private void updateSubAccountBox()

createVerticalXYBarChart

private org.jfree.chart.JFreeChart createVerticalXYBarChart(Account a)

createTimeSeriesCollection

private org.jfree.data.time.TimeSeriesCollection createTimeSeriesCollection(Account account)

calculateTotal

private static java.math.BigDecimal calculateTotal(java.util.Date start,
                                                   java.util.Date end,
                                                   Account account,
                                                   CurrencyNode baseCurrency)