|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--MoreMotionObject | +--ProcessField | +--DateBox
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 | |
boolean |
isDateBox
|
Object |
props
DateBox Properties Object. |
Fields inherited from class ProcessField |
props, isProcessField, elm, needsValueCloning
|
Fields inherited from class MoreMotionObject |
node, name, type, isMoreMotionObject, props
|
Constructor Summary | |
DateBox(node)
|
Method Summary | |
void
|
base(node)
|
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
|
setValue(value, valueFormat)
Sets the value of this DateBox. |
Methods inherited from class ProcessField |
setModified, isModified, getRecord, setSubmitPrefix, appendRequestParams, focusTab, notify, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue, runHandler
|
Methods inherited from class MoreMotionObject |
saveProps, boolProp, numberProp, charProp, getIValue, setIValue
|
Field Detail |
boolean isDateBox
Object props
valueFormat | The format of the value. See Date Formatting Symbols |
displayFormat | The representation format of the date value. See Date Formatting Symbols |
submitFormat | The format of the submit value.See Date Formatting Symbols |
monthFormat | The Format of the Month. The formating options are : "Long Text", "Short Text", "Number" |
excludeWeekends | The Flag to make weekend days invisible on the dialog |
defaultDate | The default date value to be used when intialValue is empty |
fromDate | The Minimum date that can be selected on the dialog |
toDate | The maximum date that can be selected on the dialog |
nonBlank | See ProcessField.props.nonBlank |
validValues | See ProcessField.props.validValues |
valHandler | See ProcessField.valHandler() |
valErrorHandler | See ProcessField.props.valErrorHandler |
Constructor Detail |
DateBox(node)
node
- the DOM Element node that is wrapped by this object
Method Detail |
void base(node)
node
- the DOM Element node that is wrapped by this field
void clear()
Object getValue()
void init()
void setValue(value, valueFormat)
TEXT INPUT
element is formatted
according to the displayFormat property and the value of the HIDDEN INPUT
element
is formatted according to the submitFormat property.value
- The new value. The format of the value should conform to the format defined with
valueFormat
- The format of the new value. If not specified props.submitFormat is used. dateFormatingSymbols property.
|
MoreMotion Face API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |