Java Doc for JRCrosstabMeasure.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » crosstabs » 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 » jasperreports 2.0.1 » net.sf.jasperreports.crosstabs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jasperreports.crosstabs.JRCrosstabMeasure

All known Subclasses:   net.sf.jasperreports.crosstabs.fill.JRFillCrosstabMeasure,  net.sf.jasperreports.crosstabs.base.JRBaseCrosstabMeasure,
JRCrosstabMeasure
public interface JRCrosstabMeasure (Code)
Crosstab measure interface.

A measure is a value that is accumulated by the crosstab and is displayed in the crosstab cells.
author:
   Lucian Chirita (lucianc@users.sourceforge.net)
version:
   $Id: JRCrosstabMeasure.java 1229 2006-04-19 10:27:35Z teodord $



Field Summary
final public static  bytePERCENTAGE_TYPE_GRAND_TOTAL
     Percentage type indicating that the value will be calculated as percentage of the grand total value.
final public static  bytePERCENTAGE_TYPE_NONE
     Percentage type indicating that the value will not be calculated as a percentage.


Method Summary
public  bytegetCalculation()
     Returns the calculation type which will be performed on the measure values.
public  ClassgetIncrementerFactoryClass()
     Returns the incrementer factory class.
public  StringgetIncrementerFactoryClassName()
     Returns the incrementer factory class name.
public  StringgetName()
     Returns the name of the measure.
public  ClassgetPercentageCalculatorClass()
     Returns the percentage calcualtor class.
public  StringgetPercentageCalculatorClassName()
     Returns the percentage calculator class name.
public  bytegetPercentageOfType()
     Returns the percentage calculation type performed on this measure.
public  ClassgetValueClass()
     Returns the value class of this measure.
public  StringgetValueClassName()
     Returns the name of the value class for this measure.
public  JRExpressiongetValueExpression()
     Returns the measure expression.
public  JRVariablegetVariable()
     Returns the variable associated with this measure.

The variable can be used inside the crosstab data cells as the measure value.


Field Detail
PERCENTAGE_TYPE_GRAND_TOTAL
final public static byte PERCENTAGE_TYPE_GRAND_TOTAL(Code)
Percentage type indicating that the value will be calculated as percentage of the grand total value.



PERCENTAGE_TYPE_NONE
final public static byte PERCENTAGE_TYPE_NONE(Code)
Percentage type indicating that the value will not be calculated as a percentage.





Method Detail
getCalculation
public byte getCalculation()(Code)
Returns the calculation type which will be performed on the measure values.

The incrementer factory associated with this measure will create an incrementer which will sum the measure values.

The possible calculation type are the same as the ones used for variables (see JRVariable.getCalculation JRVariable.getCalculation() with the exception of JRVariable.CALCULATION_SYSTEM JRVariable.CALCULATION_SYSTEM . the calculation type which will be performed on the measure values
See Also:   JRCrosstabMeasure.getIncrementerFactoryClassName()
See Also:   net.sf.jasperreports.engine.fill.JRExtendedIncrementerFactory
See Also:   net.sf.jasperreports.engine.fill.JRExtendedIncrementer




getIncrementerFactoryClass
public Class getIncrementerFactoryClass()(Code)
Returns the incrementer factory class. the incrementer factory class
See Also:   JRCrosstabMeasure.getIncrementerFactoryClassName()



getIncrementerFactoryClassName
public String getIncrementerFactoryClassName()(Code)
Returns the incrementer factory class name.

Crosstab measures require extended incrementers, therefore the incrementer class should implement net.sf.jasperreports.engine.fill.JRExtendedIncrementerFactory JRExtendedIncrementerFactory . the incrementer factory class name




getName
public String getName()(Code)
Returns the name of the measure. the name of the measure
See Also:   JRCrosstabMeasure.getVariable()



getPercentageCalculatorClass
public Class getPercentageCalculatorClass()(Code)
Returns the percentage calcualtor class. the percentage calcualtor class



getPercentageCalculatorClassName
public String getPercentageCalculatorClassName()(Code)
Returns the percentage calculator class name. the percentage calculator class name



getPercentageOfType
public byte getPercentageOfType()(Code)
Returns the percentage calculation type performed on this measure.

Currently, only percentage out of grand total is supported.

The possible values are:

If percentage calculation is required, the value class should be one of the built-in supported percentage types or the percentage calculator class should be specified. the percentage calculation type
See Also:   net.sf.jasperreports.crosstabs.fill.JRPercentageCalculatorFactory.hasBuiltInCalculator(Class)
See Also:   JRCrosstabMeasure.getPercentageCalculatorClassName()




getValueClass
public Class getValueClass()(Code)
Returns the value class of this measure. the value class of this measure



getValueClassName
public String getValueClassName()(Code)
Returns the name of the value class for this measure. the name of the value class for this measure



getValueExpression
public JRExpression getValueExpression()(Code)
Returns the measure expression. the measure expression



getVariable
public JRVariable getVariable()(Code)
Returns the variable associated with this measure.

The variable can be used inside the crosstab data cells as the measure value. The variable has the same name and value class as the measure. the variable associated with this measure




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