|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--ProcessObjectManager
Manager Class that provides methods to manage the Process Based Wrapper Objects of MoreMotion.
A static object of this class is avaialable with name PMgr
.
var PMgr = new ProcessObjectManager();
Constructor Summary | |
ProcessObjectManager()
|
Method Summary | |
void
|
fieldChanged(node)
|
ProcessBlock
|
getEnclosingBlock(node)
Returns the ProcessBlock object that encloses the given DOM Element node |
ProcessField
|
getEnclosingField(node)
Returns the ProcessField object that encloses the given the DOM Element node |
ProcessForm
|
getEnclosingForm(node)
Returns the ProcessForm object that encloses the given DOM Element node |
ProcessRecord
|
getEnclosingRecord(node)
Returns the ProcessRecord object that encloses the given DOM Element node |
ProcessField
|
getField(formName, blockName, fieldName, recordNumber)
Returns the specified ProcessField object. |
ProcessForm
|
getForm(name)
Returns the ProcessForm object associated with the specified name |
void
|
recordChanged(node, fname)
Sets the Process Record that the specified element resides in into the modified status. |
void
|
selectOption(node)
Sets the initial value of an OptionBox Field |
boolean
|
submitProcessForm(formName, commandName, target)
Submits the specified ProcessForm using the specified ProcessCommand. |
Constructor Detail |
ProcessObjectManager()
Method Detail |
void fieldChanged(node)
ProcessBlock getEnclosingBlock(node)
HTMLElement
- > Node of a DOM Element
ProcessField getEnclosingField(node)
HTMLElement
- > Node of a DOM Element
ProcessForm getEnclosingForm(node)
HTMLElement
- > Node of a DOM Element
ProcessRecord getEnclosingRecord(node)
HTMLElement
- > Node of a DOM Element
ProcessField getField(formName, blockName, fieldName, recordNumber)
formName
- The name of the ProcessForm
blockName
- The name of the ProcessBlock in the ProcessForm
fieldName
- The name of the ProcessField in the ProcessBlock
recordNumber
- The sequence number of the ProcessRecord in the ProcessBlock. If this parameter is omited "1" is assumed.
ProcessForm getForm(name)
name
- The name of the ProcessForm
void recordChanged(node, fname)
node
- an HTMLElement object node is located in the Process Record to set its status
fname
- The name of the Process Field which is modified
void selectOption(node)
node
- The DOM Node of the OptionBox
boolean submitProcessForm(formName, commandName, target)
formName
- The name of the ProcessForm
commandName
- The name of the ProcessCommand
target
- The target frame. This parameter is optional.
true
if form is submitted, false
if submittion is cancelled because of a validation error.
|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |