jgnash.ui.report.compiled
Class PayeePieChart
java.lang.Object
jgnash.ui.report.compiled.PayeePieChart
public class PayeePieChart
- extends java.lang.Object
This displays a dialog that shows a pie chart with transactions from the selected account
Filters can be setup on a per account basis to group by payee Name.
- Version:
- $Id$
- Author:
- Pranay Kumar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STARTDATE
private static final java.lang.String STARTDATE
- See Also:
- Constant Field Values
FILTERTAG
private static final java.lang.String FILTERTAG
- See Also:
- Constant Field Values
rb
private final Resource rb
pref
private java.util.prefs.Preferences pref
combo
private AccountListComboBox combo
useFilters
private javax.swing.JCheckBox useFilters
filterCombo
private javax.swing.JComboBox filterCombo
filterList
private java.util.Vector<java.lang.String> filterList
txtAddFilter
private java.awt.TextField txtAddFilter
filtersChanged
private boolean filtersChanged
showPercentCheck
private javax.swing.JCheckBox showPercentCheck
currentAccount
private Account currentAccount
chartPanel
private org.jfree.chart.ChartPanel chartPanel
startField
private DatePanel startField
endField
private DatePanel endField
defaultLabels
private org.jfree.chart.labels.PieSectionLabelGenerator defaultLabels
percentLabels
private org.jfree.chart.labels.PieSectionLabelGenerator percentLabels
PayeePieChart
public PayeePieChart()
show
public static void show()
createPanel
private javax.swing.JPanel createPanel()
refreshFilters
private void refreshFilters()
setCurrentAccount
private void setCurrentAccount(Account a)
createPieChart
private org.jfree.chart.JFreeChart createPieChart(Account a)
getTransactions
private java.util.List<PayeePieChart.TranTuple> getTransactions(Account account,
java.util.List<PayeePieChart.TranTuple> transactions,
java.util.Date startDate,
java.util.Date endDate)
createPieDataset
private org.jfree.data.general.PieDataset createPieDataset(Account a)