MoreMotion Face API

Class CheckBox

Object
   |
   +--MoreMotionObject
         |
         +--ProcessField
               |
               +--CheckBox

class CheckBox
extends ProcessField


Wrapper class of a HTML <INPUT type="checkbox"> Element that exists in a Process Block.


 <input
   name="pf_RETIRED" type="checkbox" onchange="PMgr.fieldChanged(this);"
   mo:type="CheckBox" mo:field="true" mo:name="RETIRED" mo:iValue="false"
 />
 
The name attribute of the element should have a "pf_" prefix indicate that it is a ProcessField.
Defined in Process.js


Field Summary
 boolean isCheckBox
          
   
Fields inherited from class ProcessField
props, isProcessField, elm, needsValueCloning
   
Fields inherited from class MoreMotionObject
node, name, type, isMoreMotionObject, props
 
Constructor Summary
CheckBox(node)
           
 
Method Summary
 void appendRequestParams(acc)
          
 void base(node)
          
 Object getValue()
           Returns the value of this field
 boolean isModified()
           Returns true if this Process Field is modified by the user false otherwise.
 void setRecordNumber(recnum)
          
 void setValue(value)
           Sets the value of this field.
 void validate(index)
           Validates this Process Field with the built-in validation methods that are applicable to the type of the Process Field.
 
Methods inherited from class ProcessField
clear, setModified, getRecord, setSubmitPrefix, focusTab, notify, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue, runHandler
   
Methods inherited from class MoreMotionObject
saveProps, boolProp, numberProp, charProp, getIValue, setIValue
 

Field Detail

isCheckBox

boolean isCheckBox

Constructor Detail

CheckBox

CheckBox(node)

Method Detail

appendRequestParams

void appendRequestParams(acc)

base

void base(node)

getValue

Object getValue()

isModified

boolean isModified()

setRecordNumber

void setRecordNumber(recnum)

setValue

void setValue(value)

validate

void validate(index)

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008