public abstract class BufferingLayoutController extends AbstractLayoutController
Modifier | Constructor and Description |
---|---|
protected |
BufferingLayoutController() |
Modifier and Type | Method and Description |
---|---|
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.
|
createPrecomputeInstance, getFlowController, getNode, getParent, isInitialized
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