org.jfree.report.flow.layoutprocessor
public interface LayoutController extends Cloneable
Method Summary | |
---|---|
LayoutController | advance(ReportTarget target)
Advances the processing position.
|
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() |
Object | getNode() |
LayoutController | getParent()
Retrieves the parent of this layout controller. |
void | initialize(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. |
Parameters: target the report target that receives generated events.
Returns: the new layout controller instance representing the new state.
Throws: 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.
Returns: a copy.
Parameters: fc a new flow controller for the precomputation.
Returns: a copy that is suitable for precomputation.
Returns: the layout controller's parent to null
if there is no
parent.
Parameters: 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.
Throws: 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.
Returns: true, if the layout controller is advanceable, false otherwise.
Parameters: flowController the flow controller of the parent.
Returns: the joined layout controller that incorperates all changes from the delegate.