Search in sources :

Example 6 with AbstractReportTableModel

use of jgnash.report.table.AbstractReportTableModel in project jgnash by ccavanaugh.

the class NetWorthReportController method addTable.

private void addTable() {
    final AbstractReportTableModel model = createReportModel();
    report.clearReport();
    report.setTitle(ResourceUtils.getString("Word.NetWorth"));
    try {
        report.addTable(model);
        report.addFooter();
    } catch (final IOException e) {
        e.printStackTrace();
    }
}
Also used : IOException(java.io.IOException) AbstractReportTableModel(jgnash.report.table.AbstractReportTableModel)

Example 7 with AbstractReportTableModel

use of jgnash.report.table.AbstractReportTableModel in project jgnash by ccavanaugh.

the class PortfolioReportController method addTable.

private void addTable() {
    final AbstractReportTableModel model = createReportModel();
    report.clearReport();
    try {
        report.addTable(model);
        report.addFooter();
    } catch (final IOException e) {
        e.printStackTrace();
    }
}
Also used : IOException(java.io.IOException) AbstractReportTableModel(jgnash.report.table.AbstractReportTableModel)

Example 8 with AbstractReportTableModel

use of jgnash.report.table.AbstractReportTableModel in project jgnash by ccavanaugh.

the class AccountRegisterReportController method addTable.

private void addTable() {
    final AbstractReportTableModel model = createReportModel();
    report.clearReport();
    try {
        report.addTable(model);
        report.addFooter();
    } catch (final IOException e) {
        e.printStackTrace();
    }
}
Also used : IOException(java.io.IOException) AbstractReportTableModel(jgnash.report.table.AbstractReportTableModel)

Aggregations

AbstractReportTableModel (jgnash.report.table.AbstractReportTableModel)8 IOException (java.io.IOException)6 File (java.io.File)3 Preferences (java.util.prefs.Preferences)3 FileChooser (javafx.stage.FileChooser)3 ResourceBundle (java.util.ResourceBundle)2 Task (javafx.concurrent.Task)2 FXML (javafx.fxml.FXML)1 OfxExport (jgnash.convert.exportantur.ofx.OfxExport)1 Engine (jgnash.engine.Engine)1 InjectFXML (jgnash.uifx.util.InjectFXML)1