MoreMotion Face API

Class ProcessObjectManager

Object
   |
   +--ProcessObjectManager

class ProcessObjectManager


Manager Class that provides methods to manage the Process Based Wrapper Objects of MoreMotion. A static object of this class is available with name PMgr.

var PMgr = new ProcessObjectManager();

Defined in Process.js


Field Summary
 Object runningCommandName
          Contains the name of the command being executed.
 
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
 Object isFieldNode(node)
          
 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 < href='OptionBox.html'>OptionBox Field
 Object submitOnEnter(e,frm,cmd,target)
           Submits the given form with given command if enter key is pressed.
 Boolean submitProcessForm(formName, commandName, target)
           Submits the specified ProcessForm using the specified ProcessCommand.

Field Detail

runningCommandName

Object runningCommandName

Constructor Detail

ProcessObjectManager

ProcessObjectManager()

Method Detail

fieldChanged

void fieldChanged(node)

getEnclosingBlock

ProcessBlock getEnclosingBlock(node)

getEnclosingField

ProcessField getEnclosingField(node)

getEnclosingForm

ProcessForm getEnclosingForm(node)

getEnclosingRecord

ProcessRecord getEnclosingRecord(node)

getField

ProcessField getField(formName, blockName, fieldName, recordNumber)

getForm

ProcessForm getForm(name)

isFieldNode

Object isFieldNode(node)

recordChanged

void recordChanged(node, fname)

selectOption

void selectOption(node)

submitOnEnter

Object submitOnEnter(e,frm,cmd,target)

submitProcessForm

Boolean submitProcessForm(formName, commandName, target)

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011