|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MoreMotionObject
|
+--TextNode
|
+--DateText
Represents a DateText. It wraps any HTML DOM element that can contains a text node as
a child node. The purpose of this class is to create a text node under the wrapped DOM element
and format its value as a date.
Defined in Date.js
| Field Summary | |
Object |
needsValueCloning
|
Object |
props
DateText Properties Object. |
| Fields inherited from class TextNode |
textNode
|
| Fields inherited from class MoreMotionObject |
node, name, type, props
|
| Constructor Summary | |
DateText(node)
|
|
| Method Summary | |
void
|
init()
Initializes this DateText |
void
|
setDateValue(dateValue)
Sets the value of this DateText. |
void
|
setValue(value,silent)
Sets the value of this DateText. |
| Methods inherited from class TextNode |
getChildNode, wrapElements, getANode, removeANode, setTextValue, getValue, getTextValue, getHref, setHref, clear
|
| Methods inherited from class MoreMotionObject |
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue, runHandler
|
| Field Detail |
Object needsValueCloning
Object props
| value | The value of the DateText |
| valueFormat | The format of the value. See Date Formatting Symbols |
| displayFormat | The representation format of the date value. See Date Formatting Symbols |
| defaultDate | The default date value to be used when value property is empty |
| Constructor Detail |
DateText(node)
node - the DOM Element node that is wrapped by this object
| Method Detail |
void init()
void setDateValue(dateValue)
dateValue - New date as a Date object.
void setValue(value,silent)
value - The new value that complies to valueFormat property.
silent - Specify true if no error message should be alerted when an exception occurs
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||