Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.report.flow.layoutprocessor.AbstractLayoutController
Constructor Summary | |
Method Summary | |
Object |
|
LayoutController |
|
FlowController | |
Object |
|
LayoutController |
|
void |
|
boolean |
public LayoutController createPrecomputeInstance(FlowController fc)
Derives a copy of this controller that is suitable to perform a precomputation.
- Specified by:
- createPrecomputeInstance in interface LayoutController
- Parameters:
fc
-
- Returns:
public FlowController getFlowController()
- Specified by:
- getFlowController in interface LayoutController
public LayoutController getParent()
Retrieves the parent of this layout controller. This allows childs to query their context.
- Specified by:
- getParent in interface LayoutController
- Returns:
- the layout controller's parent to
null
if there is no parent.
public void initialize(Object node, FlowController flowController, LayoutController parent) throws DataSourceException, ReportDataFactoryException, ReportProcessingException
Initializes the layout controller. This method is called exactly once. It is the creators responsibility to call this method. Calling initialize after the first advance must result in a IllegalStateException.
- Specified by:
- initialize in interface LayoutController
- 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.