org.oddjob.arooa.design.view
Class SwingFormFactory<T extends Form>
java.lang.Object
org.oddjob.arooa.design.view.SwingFormFactory<T>
public abstract class SwingFormFactory<T extends Form>
- extends Object
Creates SwingFormView
s from Form
s
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwingFormFactory
public SwingFormFactory()
onCreate
public abstract SwingFormView onCreate(T form)
register
public static <Y extends Form> void register(Class<Y> cl,
SwingFormFactory<Y> factory)
create
public static <Y extends Form> SwingFormView create(Y form)
- Create a
SwingFormView
from a .
- Type Parameters:
Y
- The type of Form.- Parameters:
form
- The form.
- Returns:
- A SwingFormView. Never null.