| java.lang.Object com.xoetrope.builder.mozilla.xul.XulComponentFactory
XulComponentFactory | public class XulComponentFactory implements XComponentConstructor(Code) | | A factory class used to add the components available as part of the Xul Forms
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.5 $
|
XulComponentFactory | public XulComponentFactory()(Code) | | |
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 - |
constructComponent | public Component 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: the - name identifying the type |
setPackageName | public void setPackageName(String defPackage)(Code) | | |
update | public void update()(Code) | | |
|
|