|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an object to provide a set of services built on top of an html form
as defined from the builder. An IFormElement
object provides:
All of the form elements contained with the Process Manager engine are
managed by an object implementing the IFormDictionary
interface.
IHTMLPage
,
IPresentationElement
,
IFormDictionary
Method Summary | |
void |
display(IHTMLPage html,
boolean viewOnly)
Ask the form to display itself and all the fields contained within it at an entry point node. |
void |
display(IProcessInstance pi,
IHTMLPage html,
boolean viewOnly)
Ask the form to display itself and all the fields contained within it at a non-entry point node. |
java.util.Enumeration |
editables()
Returns an enumeration of the fields that are present in this form in editable mode. |
java.util.Enumeration |
fields()
Returns an enumeration of the fields that are present in this form. |
java.lang.String |
getBodyTag()
Returns the entire body tag as defined in the form. |
java.lang.String |
getHead()
Returns the content between the <head> tags in the form. |
java.util.Enumeration |
hidden()
Returns an enumeration of the fields that are present in this form in hidden mode. |
java.util.Enumeration |
viewable()
Returns an enumeration of the fields that are present in this form in viewable mode. |
Methods inherited from interface com.netscape.pm.model.IPMElement |
dumpState, getDescription, getName, getParent, getPrettyName, getProperty, isLocked, lockObject, postCreation, setParent, setProperties, toString |
Method Detail |
public java.util.Enumeration fields()
IPresentationElement
public java.util.Enumeration editables()
The objects returned in the enumeration are of type IPresentationElement.
IPresentationElement
public java.util.Enumeration hidden()
The objects returned in the enumeration are of type IPresentationElement.
IPresentationElement
public java.util.Enumeration viewable()
The objects returned in the enumeration are of type IPresentationElement.
IPresentationElement
public java.lang.String getHead()
public java.lang.String getBodyTag()
then that is what is returned from this method.
public void display(IHTMLPage html, boolean viewOnly) throws PMException
display
is only called when a client is viewing the field from an entry point
form, as no process instance will have been instantiated at that point.
As result of calling this method all of the
IPresentationElement
objects contained within this form
will have their display( IHTMLPage, int, String )
method invoked.
html
- the HTML page to be returned to the userviewOnly
- true
if the fields in the form
should be displayed in view-only mode;
false
if those fields that have
set to display as editable will display
themselves in editable modePMException
- if there is a problem with one of the fields
displaying itself to the html page.IPresentationElement.display( IHTMLPage, int, String )
,
IHTMLPage
public void display(IProcessInstance pi, IHTMLPage html, boolean viewOnly) throws PMException
display
will be called after the process instance has
already been created, that is everywhere but the entry point node.
As result of calling this method all of the
IPresentationElement
objects contained within this form
will have their
display( IProcessInstance, IHTMLPage, int, String )
method invoked.
pi
- the current process instancehtml
- the HTML page to be returned to the userviewOnly
- true
if the fields in the form
should be displayed in view-only mode;
false
if those fields that have
set to display as editable will display
themselves in editable modePMException
- if there is a problem with one of the fields
displaying itself to the html page.IPresentationElement.display( IProcessInstance, IHTMLPage,
int, String )
,
IHTMLPage
,
IProcessInstance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |