MoreMotion Face API

Class ProcessField

Object
   |
   +--MoreMotionObject
         |
         +--ProcessField
Direct Known Subclasses:
HiddenBox, FileBox, EditArea, ComboEditBox, SuggestBox, OptionBox, ListBox, TextBox, EditBox, ComboBox, NumberDialog, CheckBox, DateBox, NumberBox, ImageBox, DateDialog

class ProcessField
extends MoreMotionObject


Represents a Process Field.
Defined in Process.js


Field Summary
 Object elm
          
 Boolean needsValueCloning
          This flag denotes that the value of this field should be set additionally by calling the setValue() method after the process record that this field resides in is cloned.
 Object props
          ProcessField Properties Object
   
Fields inherited from class MoreMotionObject
node, name, type, props
 
Constructor Summary
ProcessField(node)
           
 
Method Summary
 void appendRequestParams(acc,prefix)
           Appends the request parameters and their values to the given request parameter accumulator.
 Boolean checkHasValidValue(elmToValidate,elmToFocus)
           Checks if this Process Field has a valid value.
 Boolean checkValueIsAvailable(elmToValidate,elmToFocus)
           Checks if this Process Field has a value.
 Boolean checkValueIsNumber(elmToValidate,elmToFocus)
           Checks if the value of this Process Field is a valid number.
 void clear()
           Clears the value of this Process Field.
 void focusTab()
           If this Process Field is located in a TabPanel this method instructs the TabManager to focus to that Tab.
 Object getCaption()
           Returns the caption of this field
 ProcessRecord getRecord()
           Returns the Process Record that this Process Field resides in
 Object getValue()
           Returns the value of this field
 Boolean isModified()
           Returns true if this Process Field is modified by the user false otherwise.
 Boolean notify(elm, msgCode, msgArg1, msgArg2, msgArg3)
           Focuses on the specified HTML Element and notifies the user with the specified message.
 Boolean notifyEx(elm, ex)
           Focuses on the specified HTML Element and notifies the user with the specified message.
 void reset(silent)
           Resets the value of this Process Field.
 Boolean runValidationHandler()
           Runs the Validation Handler Function defined for this Process Field.
 void setModified()
           Adds the name of this field to the modified fields list of the parent ProcessRecord if the value of this field is different that the initial value.
 void setValue(value)
           Sets the value of this field.
 Boolean validate()
           Validates this Process Field with the built-in validation methods that are applicable to the type of the Process Field.
 
Methods inherited from class MoreMotionObject
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue, runHandler
 

Field Detail

elm

Object elm

needsValueCloning

Boolean needsValueCloning

props

Object props

Constructor Detail

ProcessField

ProcessField(node)

Method Detail

appendRequestParams

void appendRequestParams(acc,prefix)

checkHasValidValue

Boolean checkHasValidValue(elmToValidate,elmToFocus)

checkValueIsAvailable

Boolean checkValueIsAvailable(elmToValidate,elmToFocus)

checkValueIsNumber

Boolean checkValueIsNumber(elmToValidate,elmToFocus)

clear

void clear()

focusTab

void focusTab()

getCaption

Object getCaption()

getRecord

ProcessRecord getRecord()

getValue

Object getValue()

isModified

Boolean isModified()

notify

Boolean notify(elm, msgCode, msgArg1, msgArg2, msgArg3)

notifyEx

Boolean notifyEx(elm, ex)

reset

void reset(silent)

runValidationHandler

Boolean runValidationHandler()

setModified

void setModified()

setValue

void setValue(value)

validate

Boolean validate()

MoreMotion Face API

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