com.waveset.object
Class FieldDisplay
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.object.XmlComponent
com.waveset.object.FieldDisplay
- All Implemented Interfaces:
- javax.naming.Referenceable, XmlObject
- public class FieldDisplay
- extends XmlComponent
A class used to describe the rendering of a form field.
These are essentially construction parameters for
a com.wavest.ui.util.html.Component object.
This extends XmlComponent which provides a generic model
and adds some utilities specific to components used with Forms.
Field Summary |
static java.lang.String |
code_id
|
static java.lang.String |
ELEMENT
Name of our element. |
Methods inherited from class com.waveset.object.XmlComponent |
addProperty, clearOwner, create, getClassName, getOwner, getProperties, getProperty, getProperty, getPropertyObject, link, removeProperty, removeProperty, setClassName, setDefaultProperty, setOwner, setOwner, setProperties, setProperties, setProperty, setProperty, toXml |
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
ELEMENT
public static final java.lang.String ELEMENT
- Name of our element.
Overload the generic "Component" element defined in
XmlComponent to make it clearer what this does in the context
of a
FieldDisplay
public FieldDisplay()
FieldDisplay
public FieldDisplay(org.w3c.dom.Element e)
throws WavesetException
FieldDisplay
public FieldDisplay(ExEnvironment env,
org.w3c.dom.Element e)
throws WavesetException
- Constructor with an env if you can do linking during construction.
FieldDisplay
public FieldDisplay(java.util.Map properties)
- Constructor that accepts a Map of properties.
This is a convenience for building FieldDisplay objects
within workflow. These can be left in the task result and used
to insert buttons or links.
setAction
public void setAction(boolean b)
getElementName
public java.lang.String getElementName()
- Description copied from class:
AbstractXmlObject
- Return the element name.
- Specified by:
getElementName
in interface XmlObject
- Overrides:
getElementName
in class XmlComponent
isAction
public boolean isAction()
create
public java.lang.Object create(ExState state)
throws WavesetException
- Instantiate the object desicrbed by THIS object.
Since this may require expression evaluation, an ExState must
be passed in.
- Throws:
WavesetException
createNew
public java.lang.Object createNew(ExState state)
throws WavesetException
- Throws:
WavesetException
parseXml
public void parseXml(ExEnvironment env,
org.w3c.dom.Element e)
throws WavesetException
- Overrides:
parseXml
in class XmlComponent
- Throws:
WavesetException
addSubclassAttributes
public void addSubclassAttributes(java.lang.StringBuffer b)
- Overrides:
addSubclassAttributes
in class XmlComponent
parseSubclassAttributes
public void parseSubclassAttributes(org.w3c.dom.Element e)
- Overrides:
parseSubclassAttributes
in class XmlComponent