Source Code Cross Referenced for AbstractFunction.java in  » Report » pentaho-report » org » jfree » report » function » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.jfree.report.function 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * ===========================================
003:         * JFreeReport : a free Java reporting library
004:         * ===========================================
005:         *
006:         * Project Info:  http://reporting.pentaho.org/
007:         *
008:         * (C) Copyright 2001-2007, by Object Refinery Ltd, Pentaho Corporation and Contributors.
009:         *
010:         * This library is free software; you can redistribute it and/or modify it under the terms
011:         * of the GNU Lesser General Public License as published by the Free Software Foundation;
012:         * either version 2.1 of the License, or (at your option) any later version.
013:         *
014:         * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
015:         * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016:         * See the GNU Lesser General Public License for more details.
017:         *
018:         * You should have received a copy of the GNU Lesser General Public License along with this
019:         * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
020:         * Boston, MA 02111-1307, USA.
021:         *
022:         * [Java is a trademark or registered trademark of Sun Microsystems, Inc.
023:         * in the United States and other countries.]
024:         *
025:         * ------------
026:         * AbstractFunction.java
027:         * ------------
028:         * (C) Copyright 2001-2007, by Object Refinery Ltd, Pentaho Corporation and Contributors.
029:         */package org.jfree.report.function;
030:
031:        import org.jfree.report.event.ReportEvent;
032:
033:        /**
034:         * Base class for implementing new report functions.  Provides empty implementations of
035:         * all the methods in the Function interface.
036:         * <p/>
037:         * The function is initialized when it gets added to the report. The method
038:         * <code>initialize</code> gets called to perform the required initializations. At this
039:         * point, all function properties must have been set to a valid state and the function
040:         * must be named. If the initialisation fails, a FunctionInitializeException is thrown and
041:         * the function get not added to the report.
042:         *
043:         * @author Thomas Morgner
044:         */
045:        public abstract class AbstractFunction extends AbstractExpression
046:                implements  Function {
047:            /**
048:             * Creates an unnamed function. Make sure the name of the function is set using {@link
049:             * #setName} before the function is added to the report's function collection.
050:             */
051:            protected AbstractFunction() {
052:            }
053:
054:            /**
055:             * Creates an named function.
056:             *
057:             * @param name the name of the function.
058:             */
059:            protected AbstractFunction(final String name) {
060:                setName(name);
061:            }
062:
063:            /**
064:             * Receives notification that report generation initializes the current run. <P> The
065:             * event carries a ReportState.Started state.  Use this to initialize the report.
066:             *
067:             * @param event The event.
068:             */
069:            public void reportInitialized(final ReportEvent event) {
070:            }
071:
072:            /**
073:             * Receives notification that the report has started.
074:             *
075:             * @param event the event.
076:             */
077:            public void reportStarted(final ReportEvent event) {
078:            }
079:
080:            /**
081:             * Receives notification that the report has finished.
082:             *
083:             * @param event the event.
084:             */
085:            public void reportFinished(final ReportEvent event) {
086:            }
087:
088:            /**
089:             * Receives notification that a group has started.
090:             *
091:             * @param event the event.
092:             */
093:            public void groupStarted(final ReportEvent event) {
094:            }
095:
096:            /**
097:             * Receives notification that a group has finished.
098:             *
099:             * @param event the event.
100:             */
101:            public void groupFinished(final ReportEvent event) {
102:            }
103:
104:            /**
105:             * Receives notification that a row of data is being processed.
106:             *
107:             * @param event the event.
108:             */
109:            public void itemsAdvanced(final ReportEvent event) {
110:            }
111:
112:            /**
113:             * Receives notification that a group of item bands is about to be processed. <P> The
114:             * next events will be itemsAdvanced events until the itemsFinished event is raised.
115:             *
116:             * @param event The event.
117:             */
118:            public void itemsStarted(final ReportEvent event) {
119:            }
120:
121:            /**
122:             * Receives notification that a group of item bands has been completed. <P> The itemBand
123:             * is finished, the report starts to close open groups.
124:             *
125:             * @param event The event.
126:             */
127:            public void itemsFinished(final ReportEvent event) {
128:            }
129:
130:            /**
131:             * Receives notification that report generation has completed, the report footer was
132:             * printed, no more output is done. This is a helper event to shut down the output
133:             * service.
134:             *
135:             * @param event The event.
136:             */
137:            public void reportDone(final ReportEvent event) {
138:                // does nothing...
139:            }
140:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.