org.jfree.layouting.renderer

Class PaginatingRenderer.DefaultFlowRendererState

Enclosing Class:
PaginatingRenderer
Implemented Interfaces:
Serializable, State

protected static class PaginatingRenderer.DefaultFlowRendererState
extends AbstractRenderer.RendererState

Constructor Summary

DefaultFlowRendererState(PaginatingRenderer renderer)

Method Summary

StatefullComponent
restore(LayoutProcess layoutProcess)
Creates a restored instance of the saved component.

Methods inherited from class org.jfree.layouting.renderer.AbstractRenderer.RendererState

fill

Constructor Details

DefaultFlowRendererState

protected DefaultFlowRendererState(PaginatingRenderer renderer)
            throws StateException

Method Details

restore

public StatefullComponent restore(LayoutProcess layoutProcess)
            throws StateException
Creates a restored instance of the saved component.

By using this factory-like approach, we gain independence from having to know the actual implementation. This makes things a lot easier.

Specified by:
restore in interface State
Parameters:
layoutProcess - the layout process that controls it all
Returns:
the saved state
Throws:
StateException -