net.sf.jasperreports.governors
Class MaxPagesGovernor

java.lang.Object
  extended by net.sf.jasperreports.engine.JRAbstractScriptlet
      extended by net.sf.jasperreports.engine.JRDefaultScriptlet
          extended by net.sf.jasperreports.governors.MaxPagesGovernor

public class MaxPagesGovernor
extends JRDefaultScriptlet

Version:
$Id: MaxPagesGovernor.java 5050 2012-03-12 10:11:26Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static java.lang.String PROPERTY_MAX_PAGES
           
static java.lang.String PROPERTY_MAX_PAGES_ENABLED
           
 
Fields inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
fieldsMap, groups, parametersMap, variablesMap
 
Constructor Summary
MaxPagesGovernor(int maxPages)
           
 
Method Summary
 void afterPageInit()
          Called after each page is initialized.
 
Methods inherited from class net.sf.jasperreports.engine.JRDefaultScriptlet
afterColumnInit, afterDetailEval, afterGroupInit, afterReportInit, beforeColumnInit, beforeDetailEval, beforeGroupInit, beforePageInit, beforeReportInit
 
Methods inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
callAfterColumnInit, callAfterDetailEval, callAfterGroupInit, callAfterPageInit, callAfterReportInit, callBeforeColumnInit, callBeforeDetailEval, callBeforeGroupInit, callBeforePageInit, callBeforeReportInit, getFieldValue, getParameterValue, getParameterValue, getVariableValue, setData, setVariableValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_MAX_PAGES_ENABLED

public static final java.lang.String PROPERTY_MAX_PAGES_ENABLED
See Also:
Constant Field Values

PROPERTY_MAX_PAGES

public static final java.lang.String PROPERTY_MAX_PAGES
See Also:
Constant Field Values
Constructor Detail

MaxPagesGovernor

public MaxPagesGovernor(int maxPages)
Method Detail

afterPageInit

public void afterPageInit()
                   throws JRScriptletException
Description copied from class: JRAbstractScriptlet
Called after each page is initialized.

Overrides:
afterPageInit in class JRDefaultScriptlet
Throws:
JRScriptletException


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com