MoreMotion Face API

Class NumberDialog

Object
   |
   +--MoreMotionObject
         |
         +--ProcessField
               |
               +--NumberDialog

class NumberDialog
extends ProcessField


Represents a NumberDialog Process Field that wraps two TEXT INPUT elements to provide a controlled input field for entering Number data. This class splits the given initial value into the integer and the remainder parts and places into the TEXT INPUT fields. Each time the user types in a new character into one of the input fields, this class checks immediatelly wheter it is a allowed character and reformats the value in the input fields.
Defined in Number.js


Field Summary
 HTMLElement dpelm
          The object of the HTMLElement that displays the decimal point.
 Object DS
          Decimal Separator
 HTMLElement elm
          The HTMLElement object of the TEXT INPUT Element on the left
 Object GS
          Grouping separator
 Object props
          NumberDialog Properties Object.
 HTMLElement relm
          The HTMLElement object of the TEXT INPUT Element on the right
 Object selm
          The object that contains the pure number value to send to the server.
   
Fields inherited from class ProcessField
props, elm, needsValueCloning
   
Fields inherited from class MoreMotionObject
node, name, type, props
 
Constructor Summary
NumberDialog(node)
           
 
Method Summary
 Object getValue()
           Returns the value of this field
 void init()
          
 void reformat(value)
          
 void setValue(value)
           Sets the value of this field and reformats the wrapped field(s).
 Boolean validate()
           Validates this NumberDialog field and returns true if validation is successful, false otherwise.
 
Methods inherited from class ProcessField
getCaption, reset, setModified, isModified, getRecord, appendRequestParams, focusTab, notify, notifyEx, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue
   
Methods inherited from class MoreMotionObject
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue, runHandler
 

Field Detail

dpelm

HTMLElement dpelm

DS

Object DS

elm

HTMLElement elm

GS

Object GS

props

Object props

relm

HTMLElement relm

selm

Object selm

Constructor Detail

NumberDialog

NumberDialog(node)

Method Detail

getValue

Object getValue()

init

void init()

reformat

void reformat(value)

setValue

void setValue(value)

validate

Boolean validate()

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011