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


java.lang.Object
   net.sf.jasperreports.engine.fill.JRFillContext

JRFillContext
public class JRFillContext (Code)
Context class shared by all the fillers involved in a report (master and subfillers).

The context is created by the master filler and inherited by the subfillers.
author:
   Lucian Chirita (lucianc@users.sourceforge.net)
version:
   $Id: JRFillContext.java 1759 2007-06-20 16:47:34Z lucianc $
See Also:   net.sf.jasperreports.engine.fill.JRBaseFiller




Constructor Summary
public  JRFillContext()
     Constructs a fill context.

Method Summary
public synchronized  booleancancelRunningQuery()
     Cancels the running query.
public synchronized  voidclearRunningQueryExecuter()
     Clears the running query executer.
public  voidensureMasterPageAvailable()
     Ensures that the master page is available when virtualization is used.
public  JRPrintImagegetLoadedImage(Object source)
     Gets a cached image.
public  JasperReportgetLoadedSubreport(Object source)
     Gets a cached subreport.
public  JRTemplategetLoadedTemplate(Object source)
     Gets a cached template.
public  FormatFactorygetMasterFormatFactory()
    
public  LocalegetMasterLocale()
    
public  TimeZonegetMasterTimeZone()
    
public  JRPrintPagegetPrintPage()
     Returns the current master print page.
public  JRVirtualizationContextgetVirtualizationContext()
     Returns the virtualization context.
public  booleanhasLoadedImage(Object source)
     Checks whether an image given by source has already been loaded and cached.
public  booleanhasLoadedSubreport(Object source)
     Checks whether a subreport given by source has already been loaded and cached.
public  booleanhasLoadedTemplate(Object source)
     Checks whether a template given by source has already been loaded and cached.
public  booleanisIgnorePagination()
     Decides whether the filling should ignore pagination.
public  booleanisPerPageBoundElements()
     Decides whether fillers should keep per page bound element maps.
public  booleanisUsingVirtualizer()
     Decides whether virtualization is used by the filling process.
public  voidregisterLoadedImage(Object source, JRPrintImage image)
     Registers an image loaded from a source.
public  voidregisterLoadedSubreport(Object source, JasperReport subreport)
     Registers a subreport loaded from a source.
public  voidregisterLoadedTemplate(Object source, JRTemplate template)
     Registers a template loaded from a source.
public  voidsetIgnorePagination(boolean ignorePagination)
     Sets the flag that decides whether pagination should be ignored during filling.
public  voidsetMasterFormatFactory(FormatFactory masterFormatFactory)
    
public  voidsetMasterLocale(Locale masterLocale)
    
public  voidsetMasterTimeZone(TimeZone masterTimeZone)
    
public  voidsetPerPageBoundElements(boolean perPageBoundElements)
     Sets the flag indicating whether fillers should keep per page bound element maps.
public  voidsetPrintPage(JRPrintPage page)
     Sets the current master print page.
public synchronized  voidsetRunningQueryExecuter(JRQueryExecuter queryExecuter)
     Sets the running query executer.
public  voidsetUsingVirtualizer(boolean usingVirtualizer)
     Sets the flag indicating whether a virtualizer is used by the filling process.


Constructor Detail
JRFillContext
public JRFillContext()(Code)
Constructs a fill context.




Method Detail
cancelRunningQuery
public synchronized boolean cancelRunningQuery() throws JRException(Code)
Cancels the running query. true iff there is a running query and it has been cancelled.
throws:
  JRException -



clearRunningQueryExecuter
public synchronized void clearRunningQueryExecuter()(Code)
Clears the running query executer.

This method is called after the query has ended.




ensureMasterPageAvailable
public void ensureMasterPageAvailable()(Code)
Ensures that the master page is available when virtualization is used.



getLoadedImage
public JRPrintImage getLoadedImage(Object source)(Code)
Gets a cached image.
Parameters:
  source - the source of the image the cached image
See Also:   JRFillContext.registerLoadedImage(Object,JRPrintImage)



getLoadedSubreport
public JasperReport getLoadedSubreport(Object source)(Code)
Gets a cached subreport.
Parameters:
  source - the source of the subreport the cached subreport
See Also:   JRFillContext.registerLoadedSubreport(Object,JasperReport)



getLoadedTemplate
public JRTemplate getLoadedTemplate(Object source)(Code)
Gets a cached template.
Parameters:
  source - the source of the templage the cached templage
See Also:   JRFillContext.registerLoadedTemplate(Object,JRTemplate)



getMasterFormatFactory
public FormatFactory getMasterFormatFactory()(Code)



getMasterLocale
public Locale getMasterLocale()(Code)



getMasterTimeZone
public TimeZone getMasterTimeZone()(Code)



getPrintPage
public JRPrintPage getPrintPage()(Code)
Returns the current master print page. the current master print page
See Also:   JRFillContext.setPrintPage(JRPrintPage)



getVirtualizationContext
public JRVirtualizationContext getVirtualizationContext()(Code)
Returns the virtualization context. the virtualization context



hasLoadedImage
public boolean hasLoadedImage(Object source)(Code)
Checks whether an image given by source has already been loaded and cached.
Parameters:
  source - the source of the image whether the image has been cached
See Also:   JRFillContext.getLoadedImage(Object)
See Also:   JRFillContext.registerLoadedImage(Object,JRPrintImage)



hasLoadedSubreport
public boolean hasLoadedSubreport(Object source)(Code)
Checks whether a subreport given by source has already been loaded and cached.
Parameters:
  source - the source of the subreport whether the subreport has been cached
See Also:   JRFillContext.getLoadedSubreport(Object)
See Also:   JRFillContext.registerLoadedSubreport(Object,JasperReport)



hasLoadedTemplate
public boolean hasLoadedTemplate(Object source)(Code)
Checks whether a template given by source has already been loaded and cached.
Parameters:
  source - the source of the template whether the template has been cached
See Also:   JRFillContext.getLoadedTemplate(Object)
See Also:   JRFillContext.registerLoadedTemplate(Object,JRTemplate)



isIgnorePagination
public boolean isIgnorePagination()(Code)
Decides whether the filling should ignore pagination. whether the filling should ignore pagination
See Also:   JRFillContext.setIgnorePagination(boolean)
See Also:   net.sf.jasperreports.engine.JRParameter.IS_IGNORE_PAGINATION



isPerPageBoundElements
public boolean isPerPageBoundElements()(Code)
Decides whether fillers should keep per page bound element maps. true iff fillers should keep per page bound element maps
See Also:   JRFillContext.setPerPageBoundElements(boolean)



isUsingVirtualizer
public boolean isUsingVirtualizer()(Code)
Decides whether virtualization is used by the filling process. true iff a virtualizer is used
See Also:   JRFillContext.setUsingVirtualizer(boolean)
See Also:   net.sf.jasperreports.engine.JRParameter.REPORT_VIRTUALIZER



registerLoadedImage
public void registerLoadedImage(Object source, JRPrintImage image)(Code)
Registers an image loaded from a source.

The image is cached for further use.
Parameters:
  source - the source that was used to load the image
Parameters:
  image - the loaded image
See Also:   JRFillContext.getLoadedImage(Object)




registerLoadedSubreport
public void registerLoadedSubreport(Object source, JasperReport subreport)(Code)
Registers a subreport loaded from a source.

The subreport is cached for further use.
Parameters:
  source - the source that was used to load the subreport
Parameters:
  subreport - the loaded subreport
See Also:   JRFillContext.getLoadedSubreport(Object)




registerLoadedTemplate
public void registerLoadedTemplate(Object source, JRTemplate template)(Code)
Registers a template loaded from a source.

The template is cached for further use.
Parameters:
  source - the source that was used to load the template
Parameters:
  template - the loaded templage
See Also:   JRFillContext.getLoadedTemplate(Object)




setIgnorePagination
public void setIgnorePagination(boolean ignorePagination)(Code)
Sets the flag that decides whether pagination should be ignored during filling.
Parameters:
  ignorePagination -
See Also:   JRFillContext.isIgnorePagination()



setMasterFormatFactory
public void setMasterFormatFactory(FormatFactory masterFormatFactory)(Code)



setMasterLocale
public void setMasterLocale(Locale masterLocale)(Code)



setMasterTimeZone
public void setMasterTimeZone(TimeZone masterTimeZone)(Code)



setPerPageBoundElements
public void setPerPageBoundElements(boolean perPageBoundElements)(Code)
Sets the flag indicating whether fillers should keep per page bound element maps.
Parameters:
  perPageBoundElements - the value of the flag
See Also:   JRFillContext.isPerPageBoundElements()



setPrintPage
public void setPrintPage(JRPrintPage page)(Code)
Sets the current master print page.
Parameters:
  page - the master print page
See Also:   JRFillContext.getPrintPage()



setRunningQueryExecuter
public synchronized void setRunningQueryExecuter(JRQueryExecuter queryExecuter)(Code)
Sets the running query executer.

This method is called before firing the query.
Parameters:
  queryExecuter - the running query executer




setUsingVirtualizer
public void setUsingVirtualizer(boolean usingVirtualizer)(Code)
Sets the flag indicating whether a virtualizer is used by the filling process.
Parameters:
  usingVirtualizer - whether virtualization is used
See Also:   JRFillContext.isUsingVirtualizer()



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.