MoreMotion Face API

Class MoreMotionObject

Object
   |
   +--MoreMotionObject
Direct Known Subclasses:
ProcessBlock, FloatingWindow, ProcessField, Navigator, ProcessRecord, ProcessForm, TextNode

class MoreMotionObject


Represents a MoreMotion Object. This object can be instantiated by giving an DOM Element node to the constructor. The DOM node may have "mo:name" and "mo:props" attributes.
Defined in Common.js


Field Summary
 String name
          The name of this object.
 Object node
          The DOM Element node wrapped by this object
 Object props
          The properties object.
 String type
          The type of this object
 
Constructor Summary
MoreMotionObject(node)
           
 
Method Summary
 Boolean boolProp(propName)
           Returns the value of the given property (this.props.propName) as a boolean value.
 String charProp(propName, def)
           Returns the value of the given property (this.props.propName) as a char (1-byte string)
 String getIValue()
           Returns the initial value of this object.
 Number numberProp(propName, def)
           Returns the value of the given property (this.props.propName) as a number value.
 Object runHandler(handlerPropName, obj)
           Runs the handler whose name is stored in this.props object
 void saveProps()
           Saves the properties in the props object to the "mo:props" attribute of the DOM element node
 void setIValue(value)
           Sets the initial value of this object.
 void setProp(propName, propValue)
           Sets the value of the given property and saves the properties with saveProps() method.

Field Detail

name

String name

node

Object node

props

Object props

type

String type

Constructor Detail

MoreMotionObject

MoreMotionObject(node)

Method Detail

boolProp

Boolean boolProp(propName)

charProp

String charProp(propName, def)

getIValue

String getIValue()

numberProp

Number numberProp(propName, def)

runHandler

Object runHandler(handlerPropName, obj)

saveProps

void saveProps()

setIValue

void setIValue(value)

setProp

void setProp(propName, propValue)

MoreMotion Face API

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