|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.function.AbstractFunction
com.jrefinery.report.targets.pageable.pagelayout.PageLayouter
com.jrefinery.report.targets.pageable.pagelayout.FlowPageLayouter
A page layouter. No real implementation ... next release ..
Nested Class Summary |
Nested classes inherited from class com.jrefinery.report.targets.pageable.pagelayout.PageLayouter |
PageLayouter.LayoutManagerState |
Field Summary |
Fields inherited from interface com.jrefinery.report.function.Expression |
AUTOACTIVATE_PROPERTY |
Constructor Summary | |
FlowPageLayouter()
Creates a new page layouter. |
Method Summary | |
void |
endTask(LayoutTask task)
Ends a task. |
LayoutTask |
getTaskForEvent(ReportEvent event)
Gets a task for an event. |
void |
initialize()
Checks that the function has been correctly initialized. |
boolean |
isManualPageBreak()
A detector whether the last pagebreak was a manual pagebreak or an automatic one. |
boolean |
isNewPageStarted()
Returns false . |
void |
performLayout(ReportEvent event)
Performs layout. |
void |
restoreSaveState(ReportState state)
Restores the layoutmanager state by using this state as new base for processing. |
protected PageLayouter.LayoutManagerState |
saveCurrentState()
Saves the current state. |
Methods inherited from class com.jrefinery.report.targets.pageable.pagelayout.PageLayouter |
clearCurrentEvent, clearLogicalPage, clearSaveState, clone, endPage, getCurrentEvent, getDependencyLevel, getLayoutManagerState, getLogicalPage, getReport, getValue, isFinishingPage, isGeneratedPageEmpty, isPageEnded, isPageRestartDone, isRestartingPage, setCurrentEvent, setDependencyLevel, setFinishingPage, setGeneratedPageEmpty, setLogicalPage, setPageRestartDone, setRestartingPage, startPage |
Methods inherited from class com.jrefinery.report.function.AbstractFunction |
getDataRow, getInstance, getName, getProperties, getProperty, getProperty, groupFinished, groupStarted, isActive, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, reportDone, reportFinished, reportInitialized, reportStarted, setDataRow, setName, setProperties, setProperty |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FlowPageLayouter()
Method Detail |
public LayoutTask getTaskForEvent(ReportEvent event)
event
- the event.
public void endTask(LayoutTask task)
task
- the task.public void performLayout(ReportEvent event)
event
- the event.protected PageLayouter.LayoutManagerState saveCurrentState()
saveCurrentState
in class PageLayouter
null
.public void restoreSaveState(ReportState state) throws ReportProcessingException
restoreSaveState
in class PageLayouter
state
- the state.
ReportProcessingException
- never.public boolean isManualPageBreak()
public void initialize() throws FunctionInitializeException
The default implementation checks that the function name is not null, and calls the isInitialized() method (now deprecated).
initialize
in interface Expression
initialize
in class AbstractFunction
FunctionInitializeException
- if the function name is not set or the call to
isInitialized returns false.public boolean isNewPageStarted()
false
.
isNewPageStarted
in class PageLayouter
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |