The Gravy Framework

Class BoolModel

Object
   |
   +--OObject
         |
         +--Observer
               |
               +--Model
                     |
                     +--ScalarModel
                           |
                           +--BoolModel
Direct Known Subclasses:
TransactionSelectedModel

class BoolModel
extends ScalarModel


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

BoolModel()

Method Detail

isTrue

Object isTrue()

konstructor

void konstructor( <String> optName )

setFlag

void setFlag(<boolean> b)

The Gravy Framework

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