Zapatec Utils

Class Zapatec.SRProp

Object
   |
   +--Zapatec.SRProp

class Zapatec.SRProp

Defined in zpobjects.js


Constructor Summary
Zapatec.SRProp(obj)
            object for saving and restoring properties of the given object - SRProp (Save Restore Object Properties)
 
Method Summary
 Object destroy()
           Destroys an object.
 object getObject()
           Returns the object we are working with.
 Object getProp(propName)
           Gets property value by name from the savedProp array You should not overwrite this method as it is core of the object.
 object getSavedProps()
           Returns the hash of the saved properties.
 boolean isEmpty()
           Checks if hash of saved properties is empty.
 void restoreAll()
           Restores all properties from the savedProp array You should not overwrite this method as it is core of the object.
 Object restoreProp(propName)
           Restores the named property from savedProp array.
 Object restoreProps(propName)
           Restores the named properties from savedProp array You should not overwrite this method as it is core of the object.
 Object saveProp(propName)
           Saves the named property to savedProp array You should not overwrite this method as it is core of the object.
 Object saveProps()
           Saves the named properties to savedProp array You should not overwrite this method as it is core of the object.

Constructor Detail

Zapatec.SRProp

Zapatec.SRProp(obj)

Method Detail

destroy

Object destroy()

getObject

object getObject()

getProp

Object getProp(propName)

getSavedProps

object getSavedProps()

isEmpty

boolean isEmpty()

restoreAll

void restoreAll()

restoreProp

Object restoreProp(propName)

restoreProps

Object restoreProps(propName)

saveProp

Object saveProp(propName)

saveProps

Object saveProps()

Zapatec Utils

Documentation generated by JSDoc on Thu Aug 16 12:18:39 2007