Coverage details for net.sourceforge.demetrix.ui.balancesheets.SystemBalanceSheetDialog

LineHitsSource
1 /*******************************************************************************
2  
3  * Demetrix process modelling system
4  
5  *
6  
7  * Copyright (c) 2003, 2004 Dimitri A. Pissarenko
8  
9  *
10  
11  * This file is part of Demetrix.
12  
13  *
14  
15  * Demetrix is free software; you can redistribute it and/or modify
16  
17  * it under the terms of the GNU General Public License as published by
18  
19  * the Free Software Foundation; either version 2.1 of the License, or
20  
21  * (at your option) any later version.
22  
23  *
24  
25  * Demetrix is distributed in the hope that it will be useful,
26  
27  * but WITHOUT ANY WARRANTY; without even the implied warranty of
28  
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30  
31  * GNU General Public License for more details.
32  
33  *
34  
35  * You should have received a copy of the GNU General Public License
36  
37  * along with Demetrix; if not, write to the Free Software
38  
39  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40  
41  *
42  
43  * For further information you may
44  
45  *
46  
47  * - send an e-mail in Russian, German or English to dimitri.pissarenko@gmx.net
48  
49  * - look at http://sourceforge.net/projects/demetrix/
50  
51  * - look at http://demetrix.sourceforge.net/
52  
53  * - look at http://members.inode.at/d.pissarenko/
54  
55  *
56  
57  *****************************************************************************/
58  
59  
60  
61 package net.sourceforge.demetrix.ui.balancesheets;
62  
63  
64  
65 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
66  
67  
68  
69 /**
70  
71  * @author Dimitri Pissarenko
72  
73  *
74  
75  */
76  
77 public class SystemBalanceSheetDialog extends BalanceSheetDialog {
78  
79     public final static String SYSTEM_BALANCE_SHEET_NAME_LABEL="Entire process chain";
80  
81     public SystemBalanceSheetDialog(SwixMLBalanceSheetRenderer balanceSheet)
82  
83     {
84  
850        super(balanceSheet,SystemBalanceSheetDialog.SYSTEM_BALANCE_SHEET_NAME_LABEL);
86  
870    }
88  
89  
90  
91  
92  
93     /* (non-Javadoc)
94  
95      * @see net.sourceforge.demetrix.ui.balancesheets.BalanceSheetDialog#getRenderedBalanceSheet()
96  
97      */
98  
99     protected HSSFWorkbook getRenderedBalanceSheet() {
100  
1010        HSSFWorkbook workBook=null;
102  
1030        ExcelSystemBalanceSheetRenderer renderer=null;
104  
105         
106  
1070        workBook=new HSSFWorkbook();
108  
1090        renderer=new ExcelSystemBalanceSheetRenderer();
110  
1110        renderer.setWorkSheet(workBook.createSheet("System balance sheet"));
112  
1130        renderer.render();
114  
115         
116  
1170        return workBook;
118  
119     }
120  
121  
122  
123 }
124  

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.