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
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
|
isCheckBox
boolean isCheckBox
CheckBox
CheckBox(node)
appendRequestParams
void appendRequestParams(acc)
base
void base(node)
Parameters:
node
- the DOM Element node that is wrapped by this field
getValue
Object getValue()
Returns the value of this field
isModified
boolean isModified()
Returns true
if this Process Field is modified by the user
false
otherwise.
setRecordNumber
void setRecordNumber(recnum)
setValue
void setValue(value)
Sets the value of this field.
Parameters:
value
- The value to set to the field.
validate
void validate(index)
Validates this Process Field with the built-in validation methods that are applicable to the type
of the Process Field.
Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by
JSDoc on Mon Sep 29 14:52:55 2008