org.jwarp.flow.form.model
Interface IScreenFactory
- public interface IScreenFactory
createInstance
public IScreen createInstance(IWorkflowContext context)
throws FormInitException
- Create a new instance of this screen.
- Parameters:
The - parameters- Returns:
- A new screen instance
- Throws:
A - form init exception
addFactoryListener
public void addFactoryListener(IScreenFactoryListener listener)
- Add a listener to the form. A form sends form events describing its activities.
- Parameters:
listener - The new listener
addFactoryListener
public void addFactoryListener(IScreenFactoryListener listener,
int position)
- Add a listener to the form. A form sends form events describing its activities.
- Parameters:
listener - The new listener