|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MoreMotionObject
|
+--TextNode
|
+--NumberText
Represents a NumberText. 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 number.
Defined in Number.js
| Field Summary | |
Object |
DS
Decimal Separator |
Object |
GS
Grouping separator |
Object |
needsValueCloning
|
Object |
props
NumberText Properties Object. |
| Fields inherited from class TextNode |
textNode
|
| Fields inherited from class MoreMotionObject |
node, name, type, props
|
| Constructor Summary | |
NumberText(node)
|
|
| Method Summary | |
Object
|
getValue()
|
void
|
init()
Initializes this NumberText |
void
|
setCurrencyValue(value)
|
void
|
setValue(value)
|
| Methods inherited from class TextNode |
getChildNode, wrapElements, getANode, removeANode, setTextValue, getTextValue, getHref, setHref, clear
|
| Methods inherited from class MoreMotionObject |
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue, runHandler
|
| Field Detail |
Object DS
Object GS
Object needsValueCloning
Object props
| value | The value of the NumberText |
| allowSign | Allow Sign Flag. true means that sign ("-") character can be entered into the input field. |
| precisionDigits | Precision Digits. The number of the digits allowed to enter after the decimal seperator. |
| round | Specify true to round the value |
| padZeros | Specify true to pad zeros at the right side when precision digits are less than the specified. |
| currencyFormatting | If the number value includes a currency symbol (e.g. '120.23 $'), this property
can be used to format it. Examples:
|
| Constructor Detail |
NumberText(node)
node - the DOM Element node that is wrapped by this object
| Method Detail |
Object getValue()
void init()
void setCurrencyValue(value)
void setValue(value)
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||