|
|||||||||
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.DefaultJComponentFactory
public class DefaultJComponentFactory
Default implementation of JComponentFactory that will instantiate a JComponent of a specified class type. A best effort is made to match the context with an appropriate constructor on the JComponent class.
Constructor Summary | |
---|---|
DefaultJComponentFactory(java.lang.Class componentType)
|
Method Summary | |
---|---|
javax.swing.JComponent |
createViewComponent(ViewContext context)
Creates a JComponent 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 DefaultJComponentFactory(java.lang.Class componentType)
Method Detail |
---|
public javax.swing.JComponent createViewComponent(ViewContext context)
createViewComponent
in interface JComponentFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |