org.jfree.layouting

Class InstantiationState

public class InstantiationState extends Object implements State

Creation-Date: 17.07.2006, 17:44:11

Author: Thomas Morgner

Constructor Summary
InstantiationState(Class c)
Method Summary
StatefullComponentrestore(LayoutProcess layoutProcess)
Creates a restored instance of the saved component.

Constructor Detail

InstantiationState

public InstantiationState(Class c)

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: org.jfree.layouting.StateException