org.jfree.layouting.renderer

Class PaginatingRenderer.DefaultFlowRendererState

protected static class PaginatingRenderer.DefaultFlowRendererState extends RendererState

Constructor Summary
protected DefaultFlowRendererState(PaginatingRenderer renderer)
Method Summary
StatefullComponentrestore(LayoutProcess layoutProcess)
Creates a restored instance of the saved component.

Constructor Detail

DefaultFlowRendererState

protected DefaultFlowRendererState(PaginatingRenderer renderer)

Method Detail

restore

public StatefullComponent restore(LayoutProcess layoutProcess)
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.

Parameters: layoutProcess the layout process that controls it all

Returns: the saved state

Throws: StateException