|
||||||||||
| 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.StartState
The first state in the JFreeReport state transition diagram.
| Field Summary |
| Fields inherited from class org.jfree.report.states.ReportState |
BEFORE_FIRST_GROUP, BEFORE_FIRST_PAGE, BEFORE_FIRST_ROW |
| Constructor Summary | |
StartState(FinishState fstate,
int level)
Creates a new START state. |
|
StartState(JFreeReport report)
Creates a start state for a given report. |
|
| Method Summary | |
ReportState |
advance()
Advances from the ' START' state to the 'PRE-GROUP-HEADER' state (the
only transition that is possible from this state). |
boolean |
isPrefetchState()
Returns the corrected display item for this state. |
boolean |
isStart()
Returns true because this *is* the start state. |
void |
resetState()
Resets the state. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StartState(JFreeReport report)
throws java.lang.CloneNotSupportedException,
FunctionInitializeException
The report is cloned, and an internal reference to the clone is maintained. Changing the original report after report processing has begun will have no effect on the report output for this run.
This is the only state constructor to create a state without cloning another.
report - the report.
java.lang.CloneNotSupportedException - if the initial cloning of the report definition fails.
FunctionInitializeException
public StartState(FinishState fstate,
int level)
throws ReportProcessingException
START state.
fstate - the finish state.level - the level.
ReportProcessingException - if the State could not be initialized properly.| Method Detail |
public ReportState advance()
START' state to the 'PRE-GROUP-HEADER' state (the
only transition that is possible from this state).
Initialises the 'report.date' property, and fires a 'report-started' event.
advance in class ReportStatePRE-GROUP-HEADER').public boolean isStart()
true because this *is* the start state.
isStart in class ReportStatepublic boolean isPrefetchState()
isPrefetchState in class ReportStatepublic void resetState()
resetState in class ReportState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||