Java Doc for ReportEvent.java in  » Report » pentaho-report » org » jfree » report » event » 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.event 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.EventObject
      org.jfree.report.event.ReportEvent

All known Subclasses:   org.jfree.report.event.LayoutEvent,
ReportEvent
public class ReportEvent extends EventObject (Code)
Represents a report event.

Includes information which org.jfree.report.states.ReportState generated the event.
author:
   Thomas Morgner



Field Summary
final public static  intDEEP_TRAVERSING_EVENT
     A flag that marks the given event as a deep-traversing event.
final public static  intGROUP_FINISHED
     The event type constant, that a group finished event is invoked.
final public static  intGROUP_STARTED
     The event type constant, that a group start event is invoked.
final public static  intITEMS_ADVANCED
     The event type constant, that the items advanced event is invoked.
final public static  intITEMS_FINISHED
     The event type constant, that the items finished event is invoked.
final public static  intITEMS_STARTED
     The event type constant, that the items started event is invoked.
final public static  intPAGE_CANCELED
     The event type constant, that the page finished event is invoked.
final public static  intPAGE_FINISHED
     The event type constant, that the page finished event is invoked.
final public static  intPAGE_ROLLEDBACK
     The event type constant, that the page rollback event is invoked.
final public static  intPAGE_STARTED
     The event type constant, that the page start event is invoked.
final public static  intPOST_GROUP_FOOTER
     The event type constant, that the post group footer state will be processed.
final public static  intPOST_GROUP_HEADER
     The event type constant, that the post group header state will be processed.
final public static  intPREPARE_EVENT
     The event type constant, that this event is a prepare event.
final public static  intREPORT_DONE
     The event type constant, that the report done event is invoked.
final public static  intREPORT_FINISHED
     The event type constant, that the report finished event is invoked.
final public static  intREPORT_INITIALIZED
     The event type constant, that the report initialize event is invoked.
final public static  intREPORT_STARTED
     The event type constant, that the report start event is invoked.

Constructor Summary
public  ReportEvent(ReportState state, int type)
     Creates a new ReportEvent.
public  ReportEvent(ReportState state, ReportState originatingState, int type)
     Creates a new ReportEvent.

Method Summary
public  DataRowgetDataRow()
     Returns the currently assigned dataRow for this event.
public  intgetLevel()
     Returns the current function level.
public  ReportStategetOriginatingState()
     Returns the originating state.
public  ReportDefinitiongetReport()
     Returns the report that generated the event.
public  ReportStategetState()
     Returns the ReportState, which is the source of the event.
public  intgetType()
     Returns the event type.
public  booleanisDeepTraversing()
     Checks, whether the deep-traversing flag is set.
public  booleanisPrepareEvent()
     Checks, whether this event is a prepare event.

Field Detail
DEEP_TRAVERSING_EVENT
final public static int DEEP_TRAVERSING_EVENT(Code)
A flag that marks the given event as a deep-traversing event. This flag is an indicator, that the event did not originate in this report, so it propably came from a parent or child report.



GROUP_FINISHED
final public static int GROUP_FINISHED(Code)
The event type constant, that a group finished event is invoked.



GROUP_STARTED
final public static int GROUP_STARTED(Code)
The event type constant, that a group start event is invoked.



ITEMS_ADVANCED
final public static int ITEMS_ADVANCED(Code)
The event type constant, that the items advanced event is invoked.



ITEMS_FINISHED
final public static int ITEMS_FINISHED(Code)
The event type constant, that the items finished event is invoked.



ITEMS_STARTED
final public static int ITEMS_STARTED(Code)
The event type constant, that the items started event is invoked.



PAGE_CANCELED
final public static int PAGE_CANCELED(Code)
The event type constant, that the page finished event is invoked.



PAGE_FINISHED
final public static int PAGE_FINISHED(Code)
The event type constant, that the page finished event is invoked.



PAGE_ROLLEDBACK
final public static int PAGE_ROLLEDBACK(Code)
The event type constant, that the page rollback event is invoked.



PAGE_STARTED
final public static int PAGE_STARTED(Code)
The event type constant, that the page start event is invoked.



POST_GROUP_FOOTER
final public static int POST_GROUP_FOOTER(Code)
The event type constant, that the post group footer state will be processed. This event is never fired.



POST_GROUP_HEADER
final public static int POST_GROUP_HEADER(Code)
The event type constant, that the post group header state will be processed. This event is never fired.



PREPARE_EVENT
final public static int PREPARE_EVENT(Code)
The event type constant, that this event is a prepare event. Use this constant in combination with one of the other event types to specify which kind of event was prepared.



REPORT_DONE
final public static int REPORT_DONE(Code)
The event type constant, that the report done event is invoked.



REPORT_FINISHED
final public static int REPORT_FINISHED(Code)
The event type constant, that the report finished event is invoked.



REPORT_INITIALIZED
final public static int REPORT_INITIALIZED(Code)
The event type constant, that the report initialize event is invoked.



REPORT_STARTED
final public static int REPORT_STARTED(Code)
The event type constant, that the report start event is invoked.




Constructor Detail
ReportEvent
public ReportEvent(ReportState state, int type)(Code)
Creates a new ReportEvent.
Parameters:
  state - the current state of the processed report (null not permmitted).
Parameters:
  type - the event type for this event object.



ReportEvent
public ReportEvent(ReportState state, ReportState originatingState, int type)(Code)
Creates a new ReportEvent.
Parameters:
  state - the current state of the processed report (null not permmitted).
Parameters:
  originatingState - the original state that generated the event.
Parameters:
  type - the event type for this event object.




Method Detail
getDataRow
public DataRow getDataRow()(Code)
Returns the currently assigned dataRow for this event.

The DataRow is used to access the fields of the org.jfree.report.filter.DataSource and other functions and expressions within the current row of the report. the data row.




getLevel
public int getLevel()(Code)
Returns the current function level. the function level.



getOriginatingState
public ReportState getOriginatingState()(Code)
Returns the originating state. The originating state is the state, that generated the event in the first place. For master reports this is the same as the event source, for master-reports receiving events from a sub-report, this is the subreport's report state. the originating state.



getReport
public ReportDefinition getReport()(Code)
Returns the report that generated the event.

This is a convenience method that extracts the report from the report state. the report.




getState
public ReportState getState()(Code)
Returns the ReportState, which is the source of the event. the state (never null).



getType
public int getType()(Code)
Returns the event type. The type is made up of a combination of several flags. the event type.



isDeepTraversing
public boolean isDeepTraversing()(Code)
Checks, whether the deep-traversing flag is set. An event is deep-traversing, if it did not originate in the current report. true, if this is a deep-traversing element, false otherwise.



isPrepareEvent
public boolean isPrepareEvent()(Code)
Checks, whether this event is a prepare event. Prepare events are fired before the real event is fired and sometimes simplify the state-management inside complex functions. true, if this event is a prepare event, false otherwise.



Fields inherited from java.util.EventObject
protected transient Object source(Code)(Java Doc)

Methods inherited from java.util.EventObject
public Object getSource()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.