|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.swing.SwingComponentFactory
public class SwingComponentFactory
A factory for non-base Swing components such as trees, tables and split panes
Copyright: Copyright (c) Formaria Ltd., 2008
$Revision: 2.7 $
License see license.txt
| Constructor Summary | |
|---|---|
SwingComponentFactory(Project project)
Deprecated. Create a new component factory |
|
| Method Summary | |
|---|---|
java.lang.Object |
addElement(ComponentFactory cf,
java.lang.String type,
java.lang.String name,
java.lang.String content,
java.util.Hashtable attribs)
Deprecated. A generic factory method for adding non component elements. |
java.lang.Object |
constructComponent(ComponentFactory cf,
java.lang.String type,
java.lang.String content)
Deprecated. A generic factory for adding Components. |
ComponentAdapter |
getComponentAdapter(java.lang.String type)
Deprecated. Get the component adapter for this type |
void |
setPackageName(java.lang.String defPackage)
Deprecated. Set the package name for the factory's widgets. |
void |
update()
Deprecated. Notify the component factories that some of their settings may have changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingComponentFactory(Project project)
project - the owner project| Method Detail |
|---|
public java.lang.Object constructComponent(ComponentFactory cf,
java.lang.String type,
java.lang.String content)
constructComponent in interface ComponentConstructorcf - the calling component factorytype - a name identifying the type of component to be createdcontent - the component text/content
public java.lang.Object addElement(ComponentFactory cf,
java.lang.String type,
java.lang.String name,
java.lang.String content,
java.util.Hashtable attribs)
addElement in interface ComponentConstructorcf - the calling component factorytype - the object typename - a name identifying the element to be createdcontent - the component text/contentattribs - the element attributes if any
public void update()
update in interface ComponentConstructorpublic void setPackageName(java.lang.String defPackage)
setPackageName in interface ComponentConstructordefPackage - the default package namepublic ComponentAdapter getComponentAdapter(java.lang.String type)
getComponentAdapter in interface ComponentConstructortype - the component type name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||