MoreMotion Face API

Class MoreMotionObject

Object
   |
   +--MoreMotionObject
Direct Known Subclasses:
ProcessBlock, 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
 Object isMoreMotionObject
          
 Object 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 as a boolean value.
 String charProp(propName, def)
           Returns the value of the given property as a char (1-byte string)
 Object getIValue()
           Returns the initial value of this object
 number numberProp(propName, def)
           Returns the value of the given property as a number value.
 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

Field Detail

isMoreMotionObject

Object isMoreMotionObject

name

Object 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

Object getIValue()

numberProp

number numberProp(propName, def)

saveProps

void saveProps()

setIValue

void setIValue(value)

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008