|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.flow.layoutprocessor.AbstractLayoutController
org.jfree.report.flow.layoutprocessor.BufferingLayoutController
public abstract class BufferingLayoutController
Todo: Document me!
Constructor Summary | |
---|---|
protected |
BufferingLayoutController()
|
Method Summary | |
---|---|
LayoutController |
advance(ReportTarget target)
Advances the processing position. |
java.lang.Object |
clone()
Creates a copy of this layout controller. |
protected abstract LayoutController |
getInitialDelegate()
|
void |
initialize(java.lang.Object node,
FlowController flowController,
LayoutController parent)
Initializes the layout controller. |
boolean |
isAdvanceable()
Checks, whether the layout controller would be advanceable. |
LayoutController |
join(FlowController flowController)
Joins with a delegated process flow. |
protected LayoutController |
joinWithParent()
Joins the layout controller with the parent. |
Methods inherited from class org.jfree.report.flow.layoutprocessor.AbstractLayoutController |
---|
createPrecomputeInstance, getFlowController, getNode, getParent, isInitialized |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BufferingLayoutController()
Method Detail |
---|
public LayoutController advance(ReportTarget target) throws DataSourceException, ReportDataFactoryException, ReportProcessingException
target
- the report target that receives generated events.
DataSourceException
- if there was a problem reading data from
the datasource.
ReportProcessingException
- if there was a general problem during
the report processing.
ReportDataFactoryException
- if a query failed.protected LayoutController joinWithParent() throws ReportProcessingException, ReportDataFactoryException, DataSourceException
join(org.jfree.report.flow.FlowController)
on the parent. A join
operation is necessary to propagate changes in the flow-controller to the
parent for further processing.
java.lang.IllegalStateException
- if this layout controller has no parent.
ReportProcessingException
ReportDataFactoryException
DataSourceException
public void initialize(java.lang.Object node, FlowController flowController, LayoutController parent) throws DataSourceException, ReportDataFactoryException, ReportProcessingException
initialize
in interface LayoutController
initialize
in class AbstractLayoutController
node
- the currently processed object or layout node.flowController
- the current flow controller.parent
- the parent layout controller that was responsible for
instantiating this controller.
DataSourceException
- if there was a problem reading data from
the datasource.
ReportProcessingException
- if there was a general problem during
the report processing.
ReportDataFactoryException
- if a query failed.protected abstract LayoutController getInitialDelegate()
public boolean isAdvanceable()
LayoutController
public LayoutController join(FlowController flowController) throws ReportProcessingException, DataSourceException
flowController
- the flow controller of the parent.
ReportProcessingException
DataSourceException
public java.lang.Object clone()
LayoutController
clone
in interface LayoutController
clone
in class AbstractLayoutController
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |