Overview | File | Class | Tree | Index | Help
| The Gravey 2.5 Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class MVCBoolModel

    Object
       |
       +--GrvObject
             |
             +--MVCObserver
                   |
                   +--MVCModel
                         |
                         +--MVCScalarModel
                               |
                               +--MVCBoolModel

Direct Known Subclasses:
  EDOSelectedModel

class MVCBoolModel
extends MVCScalarModel

This class encapsulates a Boolean scalar data model.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
Defined in grvMVC.js

Constructor Summary
`MVCBoolModel ()`

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 MVCScalarModel
`_setValue, setValue, getValue, _setValidity, getValidity`

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

### MVCBoolModel

    MVCBoolModel()

Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)

Method Detail

### isTrue

    Object isTrue()

return the current value of this model

### konstructor

    void konstructor( <String> optName )

Parameters:

`optName` - optional name of this instance

### setFlag

    void setFlag(<boolean> b)

set model to given value and publish

Parameters:

`b` - value to set model to

Overview | File | Class | Tree | Index | Help
| The Gravey 2.5 Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Jan 6 12:47:09 2011