org.jwarp.flow.form.model
Interface IScreenFactory


public interface IScreenFactory


Method Summary
 void addFactoryListener(IScreenFactoryListener listener)
          Add a listener to the form.
 void addFactoryListener(IScreenFactoryListener listener, int position)
          Add a listener to the form.
 IScreen createInstance(IWorkflowContext context)
          Create a new instance of this screen.
 

Method Detail

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

©   O R C A   S y s t e m s