org.jfree.report.states
Class PostReportFooterState

java.lang.Object
  extended byorg.jfree.report.states.ReportState
      extended byorg.jfree.report.states.PostReportFooterState
All Implemented Interfaces:
java.lang.Cloneable

public class PostReportFooterState
extends ReportState

The report is done. No advance will be done, every call to advance will throw an ReportProcessingException.

Author:
David Gilbert

Field Summary
 
Fields inherited from class org.jfree.report.states.ReportState
BEFORE_FIRST_GROUP, BEFORE_FIRST_PAGE, BEFORE_FIRST_ROW
 
Constructor Summary
PostReportFooterState(ReportState previous)
          Creates a new 'finish' report state.
 
Method Summary
 ReportState advance()
          Advance to the FinishState.
 
Methods inherited from class org.jfree.report.states.ReportState
advanceItem, clone, createStateProgress, enterGroup, fireGroupFinishedEvent, fireGroupStartedEvent, fireItemsAdvancedEvent, fireItemsFinishedEvent, fireItemsStartedEvent, fireLayoutCompleteEvent, firePageCanceledEvent, firePageFinishedEvent, firePageStartedEvent, firePrepareEvent, fireReportDoneEvent, fireReportFinishedEvent, fireReportInitializedEvent, fireReportStartedEvent, getAncestorHashcode, getCurrentDataItem, getCurrentDisplayItem, getCurrentGroupIndex, getCurrentPage, getDataRow, getDataRowBackend, getDataRowPreview, getErrors, getFunctions, getLevel, getLevels, getNumberOfRows, getProperties, getProperty, getProperty, getReport, getReportDefinition, isAncestor, isErrorOccured, isFinish, isLastItemInGroup, isPrefetchState, isPrepareRun, isProceeding, isStart, leaveGroup, nextPage, resetState, setAncestorHashcode, setCurrentGroupIndex, setCurrentItem, setCurrentPage, setProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostReportFooterState

public PostReportFooterState(ReportState previous)
Creates a new 'finish' report state.

Parameters:
previous - the previous state.
Method Detail

advance

public ReportState advance()
                    throws ReportProcessingException
Advance to the FinishState. The PostReportFooterState is used to catch a continued reportfooter.

Specified by:
advance in class ReportState
Returns:
a finish state, as there is nothing to be done after the report footer has been completed.
Throws:
ReportProcessingException - if advancing failed.