Package systole.domain.report.builder

Examples of systole.domain.report.builder.ClasicReportBuilder


        fc.setFileFilter(new ExtensionFileFilter("pdf", "pdf"));
        fc.setSelectedFile(new File(filename));
        int returnVal = fc.showSaveDialog(this.frmAnalysis);
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            File file = fc.getSelectedFile();
            ClasicReportBuilder builder = new ClasicReportBuilder();
            builder.build(this.analysis, this.reportModel.getCurrentReport(), this.resultsModel.getCurrentResults(), file);
            JOptionPane.showOptionDialog(this.frmAnalysis,
                    DialogsMessages.REPORT_GENERATED,
                    DialogsMessages.DIALOG_BOX_TITLE,
                    JOptionPane.CLOSED_OPTION,
                    JOptionPane.INFORMATION_MESSAGE, null, null, null);
View Full Code Here


                    JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null)) {
                return;
            }
        }

        ClasicReportBuilder builder = new ClasicReportBuilder();
        PrinterManager printer = new PrinterManager();
        try {
            printer.printReport(builder.buildToPrint(this.analysis, this.reportModel.getCurrentReport(), this.resultsModel.getCurrentResults()));
        } catch (Exception e) {
            this.showMessage("No se pudo imprimir el reporte", DialogsMessages.DIALOG_BOX_TITLE, JOptionPane.ERROR_MESSAGE);
        }
    }
View Full Code Here

                    + "corresponderá a la última selección confirmada", DialogsMessages.DIALOG_BOX_TITLE,
                    JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null)) {
                return;
            }
        }
        ClasicReportBuilder builder = new ClasicReportBuilder();
        try {
            PdfSystoleViewer pdf = new PdfSystoleViewer(builder.buildToPrint(this.analysis, this.reportModel.getCurrentReport(), this.resultsModel.getCurrentResults()), this.analysis.toString());
            pdf.showPdf();
        } catch (Exception e) {
            this.showMessage("No se pudo realizar la previsualización del reporte", DialogsMessages.DIALOG_BOX_TITLE, JOptionPane.ERROR_MESSAGE);
        }
    }
View Full Code Here

TOP

Related Classes of systole.domain.report.builder.ClasicReportBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.