Class DateBox
Object
|
+--MoreMotionObject
|
+--ProcessField
|
+--DateBox
- class
DateBox
- extends ProcessField
Represents a DateBox. It wraps a TEXT INPUT
element, which is used for typing in the date,
and a HIDDEN INPUT
element to keep the value formatted convenient to send to the server.
Defined in Date.js
Field Summary |
Object |
elm
|
Object |
props
DateBox Properties Object. |
Object |
selm
|
Method Summary |
void
|
clear()
Empties the all wrapped input fields and sets the value of the DateBox to null.
|
Object
|
getValue()
Returns the value of this field
|
void
|
init()
Initializes this DateBox
|
void
|
setDateValue(dateValue)
Sets the value of this DateBox
|
void
|
setValue(value,silent)
Sets the value of this DateBox
|
Methods inherited from class ProcessField |
getCaption, reset, setModified, isModified, getRecord, appendRequestParams, focusTab, notify, notifyEx, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue
|
elm
Object elm
props
Object props
DateBox Properties Object.
selm
Object selm
DateBox
DateBox(node)
Parameters:
node
- the DOM Element node that is wrapped by this object
clear
void clear()
Empties the all wrapped input fields and sets the value of the DateBox to null.
getValue
Object getValue()
Returns the value of this field
init
void init()
setDateValue
void setDateValue(dateValue)
Sets the value of this DateBox
Parameters:
dateValue
- The new value as Date object.
setValue
void setValue(value,silent)
Sets the value of this DateBox
Parameters:
value
- The new value that complies to valueFormat property
silent
- Specify true if no error message should be alerted when an exception occurs
Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by
JSDoc on Thu Mar 3 18:19:14 2011