|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ryanm.config.swing.WidgetFactory
public class WidgetFactory
Builds Widgets
| Constructor Summary | |
|---|---|
WidgetFactory()
|
|
| Method Summary | |
|---|---|
static boolean |
register(java.lang.String classname)
Registers a new widget type with the factory |
static void |
register(Widget widget)
Registers a new widget type with the factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetFactory()
| Method Detail |
|---|
public static void register(Widget widget)
widget - An instance of the new widget typepublic static boolean register(java.lang.String classname)
classname - The name of the Widget class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||