|
The Gravey 2.5 Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--GrvObject
|
+--MVCObserver
|
+--MVCModel
|
+--MVCMapModel
This class encapsulates a data model for a Map of
object/key pairs. Its API is a wrapper for the MVCMap API.
This class implements the MVCCollection interface.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
Defined in grvMVC.js
| Constructor Summary | |
MVCMapModel
()
|
|
| Method Summary | |
void
|
addItem(k,o)
|
void
|
delItem(k)
|
String
|
dump()
debug method to return this list as a string |
Object
|
getCount( )
|
Object
|
getItem(k )
|
Object
|
getItemStr(k )
|
Object
|
getMemento()
return a memento of the current state of "this" |
void
|
iterate(f)
|
void
|
konstructor( <String> optName )
|
void
|
reset( )
|
void
|
setMemento(<Object> m)
update "this" based on the given memento |
| Methods inherited from class MVCModel |
dumpSubscribers, toString, dirty, clean, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers
|
| Methods inherited from class MVCObserver |
update, subscribe
|
| Methods inherited from class GrvObject |
souper, souper_, isInstanceOf
|
| Constructor Detail |
MVCMapModel()
| Method Detail |
void addItem(k,o)
void delItem(k)
String dump()
Object getCount( )
Object getItem(k )
Object getItemStr(k )
Object getMemento()
void iterate(f)
void konstructor( <String> optName )
optName - optional name of this instance
void reset( )
void setMemento(<Object> m)
m - the memento
|
The Gravey 2.5 Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||