The Gravy Framework

Class MapModel

Object
   |
   +--OObject
         |
         +--Observer
               |
               +--Model
                     |
                     +--MapModel

class MapModel
extends Model


This class encapsulates a data model for a Map of object/key pairs. Its API is a wrapper for the Map API. This class implements the Collection interface.
Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js

Version: 1.0


Constructor Summary
MapModel ()
           
 
Method Summary
 void addItem(k,o)
          
 void delItem(k)
          
 Object getCount( )
          
 Object getItem(k )
          
 Object getItemStr(k )
          
 void iterate(f)
          
 void konstructor( <String> optName )
          
 void reset( )
          
 
Methods inherited from class Model
dumpSubscribers, toString, dirty, clean, neverChanged, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers
   
Methods inherited from class Observer
update, subscribe
 

Constructor Detail

MapModel

MapModel()

Method Detail

addItem

void addItem(k,o)

delItem

void delItem(k)

getCount

Object getCount( )

getItem

Object getItem(k )

getItemStr

Object getItemStr(k )

iterate

void iterate(f)

konstructor

void konstructor( <String> optName )

reset

void reset( )

The Gravy Framework

Documentation generated by JSDoc on Fri Mar 17 06:40:21 2006