|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.builder.w3c.html.XHtmlComponentFactory
public class XHtmlComponentFactory
A factory class used to add the components available as part of the html form/page
Copyright: Copyright Xoetrope Ltd. (c) 2001-2006
License: see license.txt
$Revision: 1.2 $
| Constructor Summary | |
|---|---|
XHtmlComponentFactory()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
addElement(XComponentFactory cf,
java.lang.String type,
java.lang.String name,
java.lang.String content,
java.util.Hashtable attribs)
A factory method for adding non component elements. |
java.awt.Component |
constructComponent(XComponentFactory cf,
java.lang.String type,
java.lang.String content)
Constructs HTML components on behalf of the component factory. |
ComponentAdapter |
getComponentAdapter(java.lang.String type)
Get the component adapter for this type |
void |
setPackageName(java.lang.String defPackage)
Set the package name for the factory's widgets. |
void |
update()
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 XHtmlComponentFactory()
| Method Detail |
|---|
public void update()
XComponentConstructor
update in interface XComponentConstructorpublic void setPackageName(java.lang.String defPackage)
XComponentConstructor
setPackageName in interface XComponentConstructordefPackage - the default package name
public java.awt.Component constructComponent(XComponentFactory cf,
java.lang.String type,
java.lang.String content)
constructComponent in interface XComponentConstructorcf - the calling component factorytype - the component type namecontent - the contents if applicable
public java.lang.Object addElement(XComponentFactory cf,
java.lang.String type,
java.lang.String name,
java.lang.String content,
java.util.Hashtable attribs)
addElement in interface XComponentConstructorcf - 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 ComponentAdapter getComponentAdapter(java.lang.String type)
getComponentAdapter in interface XComponentConstructorthe - name identifying the type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||