|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.DefaultViewFactory
org.progeeks.util.swing.DefaultWindowFactory
public class DefaultWindowFactory
Default implementation of WindowFactory that will instantiate a Window of a specified class type. A best effort is made to match the context with an appropriate constructor on the window class.
Constructor Summary | |
---|---|
DefaultWindowFactory(java.lang.Class windowType)
|
Method Summary | |
---|---|
java.awt.Window |
createViewWindow(ViewContext context)
Creates a window associated with the specified view context. |
Methods inherited from class org.progeeks.util.DefaultViewFactory |
---|
createView, destroyView, getViewType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultWindowFactory(java.lang.Class windowType)
Method Detail |
---|
public java.awt.Window createViewWindow(ViewContext context)
createViewWindow
in interface WindowFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |