|
The Gravy Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--OObject
|
+--Observer
|
+--Model
|
+--ScalarModel
|
+--BoolModel
This class encapsulates a Boolean scalar data model.
Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js
Version: 1.0
| Constructor Summary | |
BoolModel
()
|
|
| Method Summary | |
Object
|
isTrue()
return the current value of this model |
void
|
konstructor( <String> optName )
|
void
|
setFlag(<boolean> b)
set model to given value and publish |
| Methods inherited from class ScalarModel |
_setValue, setValue, getValue, _setValidity, getValidity
|
| 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 |
BoolModel()
| Method Detail |
Object isTrue()
void konstructor( <String> optName )
optName - optional name of this instance
void setFlag(<boolean> b)
b - value to set model to
|
The Gravy Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||