org.jfree.layouting.renderer

Class StreamingRenderer.DefaultFlowRendererState

protected static class StreamingRenderer.DefaultFlowRendererState extends RendererState

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

Constructor Detail

DefaultFlowRendererState

protected DefaultFlowRendererState(StreamingRenderer 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