| java.lang.Object com.xoetrope.awt.XuiProComponentFactory
XuiProComponentFactory | public class XuiProComponentFactory implements XComponentConstructor(Code) | | |
Field Summary | |
protected XProject | currentProject The owner project and the context in which this object operates. |
currentProject | protected XProject currentProject(Code) | | The owner project and the context in which this object operates.
|
XuiProComponentFactory | public XuiProComponentFactory(XProject project)(Code) | | Parameters: proj - The project to which the factory belongs |
addElement | public Object addElement(XComponentFactory cf, String type, String name, String content, Hashtable attribs)(Code) | | A factory method for adding non component elements. This includes question
response elements
Parameters: cf - the calling component factory Parameters: type - the object type Parameters: name - a name identifying the element to be created Parameters: content - the component text/content Parameters: attribs - the element attributes if any |
constructComponent | public Component constructComponent(XComponentFactory cf, int type, String content)(Code) | | Constructs XForms components on behalf of the component factory. At present
the following types are supported
Parameters: cf - the calling component factory Parameters: type - Parameters: content - The new Component |
constructComponent | public Object constructComponent(XComponentFactory cf, String type, String content)(Code) | | Constructs XForms components on behalf of the component factory. At present
the following types are supported
Parameters: cf - the calling component factory Parameters: type - the component type name Parameters: content - the contents if applicable the new component |
getComponentAdapter | public ComponentAdapter getComponentAdapter(String type)(Code) | | Get the component adapter for this type
Parameters: type - the name identifying the type |
setPackageName | public void setPackageName(String defPackage)(Code) | | Set the package name for the factory's widgets.
Parameters: defPackage - the package in which the widgets are defined |
update | public void update()(Code) | | |
|
|