Java Doc for AbstractElementFormatFunction.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 Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.report.function.AbstractExpression
      org.jfree.report.function.AbstractFunction
         org.jfree.report.function.AbstractElementFormatFunction

All known Subclasses:   org.jfree.report.function.ElementColorFunction,  org.jfree.report.function.ShowElementIfDataAvailableExpression,  org.jfree.report.function.ShowElementByNameFunction,  org.jfree.report.function.sys.CellFormatFunction,  org.jfree.report.function.ElementTrafficLightFunction,  org.jfree.report.function.NegativeNumberPaintChangeFunction,  org.jfree.report.function.CreateHyperLinksFunction,  org.jfree.report.function.HideElementIfDataAvailableExpression,  org.jfree.report.function.ElementVisibilityFunction,  org.jfree.report.function.HideElementByNameFunction,  org.jfree.report.function.HideNullValuesFunction,  org.jfree.report.function.sys.SheetNameFunction,  org.jfree.report.function.sys.StyleExpressionsEvaluator,
AbstractElementFormatFunction
abstract public class AbstractElementFormatFunction extends AbstractFunction implements PageEventListener(Code)
The AbstractElementFormatFunction provides a common base implementation for all functions that need to modify the report definition or the style of an report element or band during the report processing.

The Expression retrieves the next root-level band that will be printed and uses this band as parameter for the AbstractElementFormatFunction.processRootBand(org.jfree.report.Band) method.
author:
   Thomas Morgner




Constructor Summary
protected  AbstractElementFormatFunction()
     Creates an unnamed function.

Method Summary
public  StringgetElement()
     Returns the element name.
public  ObjectgetValue()
     Format-Functions usually are not expected to return anything.
public  voidgroupFinished(ReportEvent event)
     Processes the group footer of the current group.
public  voidgroupStarted(ReportEvent event)
     Processes the group header of the current group.
public  voiditemsAdvanced(ReportEvent event)
     Processes the ItemBand.
public  voiditemsStarted(ReportEvent event)
     Processes the No-Data-Band.
public  voidpageFinished(ReportEvent event)
     Processes the page footer.
public  voidpageStarted(ReportEvent event)
     Processes the page header.
abstract protected  voidprocessRootBand(Band b)
     Processes the root band for the current event.
public  voidreportFinished(ReportEvent event)
     Processes the Report-Footer.
public  voidreportStarted(ReportEvent event)
     Processes the Report-Header.
public  voidsetElement(String name)
     Sets the element name.


Constructor Detail
AbstractElementFormatFunction
protected AbstractElementFormatFunction()(Code)
Creates an unnamed function. Make sure the name of the function is set using AbstractElementFormatFunction.setName before the function is added to the report's function collection.




Method Detail
getElement
public String getElement()(Code)
Returns the element name. The element name.
See Also:   AbstractElementFormatFunction.setElement(String)



getValue
public Object getValue()(Code)
Format-Functions usually are not expected to return anything. null, as format functions do not compute values.



groupFinished
public void groupFinished(ReportEvent event)(Code)
Processes the group footer of the current group.
Parameters:
  event - the event.



groupStarted
public void groupStarted(ReportEvent event)(Code)
Processes the group header of the current group.
Parameters:
  event - the event.



itemsAdvanced
public void itemsAdvanced(ReportEvent event)(Code)
Processes the ItemBand.
Parameters:
  event - the event.



itemsStarted
public void itemsStarted(ReportEvent event)(Code)
Processes the No-Data-Band.
Parameters:
  event - the report event.



pageFinished
public void pageFinished(ReportEvent event)(Code)
Processes the page footer.
Parameters:
  event - the event.



pageStarted
public void pageStarted(ReportEvent event)(Code)
Processes the page header.
Parameters:
  event - the event.



processRootBand
abstract protected void processRootBand(Band b)(Code)
Processes the root band for the current event. This method must be implemented by all subclasses and contains all code necessary to update the style or structure of the given band. The update must be deterministic, calls must result in the same layout for all calls for a given report processing state.
Parameters:
  b - the band.



reportFinished
public void reportFinished(ReportEvent event)(Code)
Processes the Report-Footer.
Parameters:
  event - the event.



reportStarted
public void reportStarted(ReportEvent event)(Code)
Processes the Report-Header.
Parameters:
  event - the event.



setElement
public void setElement(String name)(Code)
Sets the element name. The name denotes an element or band within the root-band or the root-band itself. It is possible to define multiple elements with the same name to apply the modification to all of these elements.
Parameters:
  name - The element name.
See Also:   org.jfree.report.function.FunctionUtilities.findAllElements(org.jfree.report.BandString)



Methods inherited from org.jfree.report.function.AbstractFunction
public void groupFinished(ReportEvent event)(Code)(Java Doc)
public void groupStarted(ReportEvent event)(Code)(Java Doc)
public void itemsAdvanced(ReportEvent event)(Code)(Java Doc)
public void itemsFinished(ReportEvent event)(Code)(Java Doc)
public void itemsStarted(ReportEvent event)(Code)(Java Doc)
public void reportDone(ReportEvent event)(Code)(Java Doc)
public void reportFinished(ReportEvent event)(Code)(Java Doc)
public void reportInitialized(ReportEvent event)(Code)(Java Doc)
public void reportStarted(ReportEvent event)(Code)(Java Doc)

Methods inherited from org.jfree.report.function.AbstractExpression
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public DataRow getDataRow()(Code)(Java Doc)
public int getDependencyLevel()(Code)(Java Doc)
public Expression getInstance()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Configuration getReportConfiguration()(Code)(Java Doc)
public ResourceBundleFactory getResourceBundleFactory()(Code)(Java Doc)
public ExpressionRuntime getRuntime()(Code)(Java Doc)
final public boolean isActive()(Code)(Java Doc)
public boolean isDeepTraversing()(Code)(Java Doc)
public boolean isPreserve()(Code)(Java Doc)
final public void setActive(boolean active)(Code)(Java Doc)
public void setDependencyLevel(int level)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreserve(boolean preserve)(Code)(Java Doc)
public void setRuntime(ExpressionRuntime runtime)(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.