|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.states.ReportState
org.jfree.report.states.FinishState
The report is done. No advance will be done, every call to advance will throw an ReportProcessingException.
Field Summary |
Fields inherited from class org.jfree.report.states.ReportState |
BEFORE_FIRST_GROUP, BEFORE_FIRST_PAGE, BEFORE_FIRST_ROW |
Constructor Summary | |
FinishState(ReportState previous)
Creates a new 'finish' report state. |
Method Summary | |
ReportState |
advance()
Normally, this method would perform a transition to the next state, but since this is the final state there is nowhere to go, so a ReportProcessingException is thrown. |
boolean |
isFinish()
Returns true, to indicate that this is the 'finish' state. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FinishState(ReportState previous)
previous
- the previous state.Method Detail |
public ReportState advance() throws ReportProcessingException
ReportProcessingException
is thrown.
advance
in class ReportState
ReportProcessingException
is thrown before the
method returns.
ReportProcessingException
- to indicate that it is not possible to advance to another
state from the finish state.public boolean isFinish()
isFinish
in class ReportState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |