org.jfree.report.flow.layoutprocessor
public interface LayoutController extends java.lang.Cloneable
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.
|
LayoutController |
createPrecomputeInstance(FlowController fc)
Derives a copy of this controller that is suitable to perform a
precomputation.
|
FlowController |
getFlowController() |
java.lang.Object |
getNode() |
LayoutController |
getParent()
Retrieves the parent of this layout controller.
|
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.
|
LayoutController getParent()
null
if there is no
parent.void initialize(java.lang.Object node, FlowController flowController, LayoutController parent) throws DataSourceException, ReportDataFactoryException, ReportProcessingException
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.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.boolean isAdvanceable()
LayoutController join(FlowController flowController) throws DataSourceException, ReportDataFactoryException, ReportProcessingException
flowController
- the flow controller of the parent.DataSourceException
ReportDataFactoryException
ReportProcessingException
java.lang.Object clone()
LayoutController createPrecomputeInstance(FlowController fc)
fc
- a new flow controller for the precomputation.FlowController getFlowController()
java.lang.Object getNode()