jgnash.ui.report.compiled
Class RunningAccountBalanceChart

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

public class RunningAccountBalanceChart
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
RunningAccountBalanceChart()
           
 
Method Summary
private  java.math.BigDecimal calculateTotal(java.util.Date d, 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

rb

private final Resource rb

startDateField

private final DatePanel startDateField

endDateField

private final DatePanel endDateField

subAccountCheckBox

private javax.swing.JCheckBox subAccountCheckBox

hideLockedAccountCheckBox

private javax.swing.JCheckBox hideLockedAccountCheckBox

hidePlaceholderAccountCheckBox

private javax.swing.JCheckBox hidePlaceholderAccountCheckBox

combo

private final FilteredAccountListComboBox combo
Constructor Detail

RunningAccountBalanceChart

public RunningAccountBalanceChart()
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 java.math.BigDecimal calculateTotal(java.util.Date d,
                                            Account account,
                                            CurrencyNode baseCurrency)