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

## Class MVCContext

    Object
       |
       +--GrvObject
             |
             +--MVCContext

class MVCContext
extends GrvObject

This class encapsulates the criteria for building a MVCView such that if it changes, the view needs rebuilding. This class is meant to be subclassed, however, the default implementation implements a single-value context where the value must be comparable via the "=" operator.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCContext ()`

Method Summary
`void` | `konstructor( <anyComparableType> optContext )`
`boolean` | `sameAs( <MVCContext> lastBuildContext )`
`String` | `toString()` return THIS formatted as string

Methods inherited from class GrvObject
`souper`

Constructor Detail

### MVCContext

    MVCContext()

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

- konstructor()

Method Detail

### konstructor

    void konstructor( <anyComparableType> optContext )

Parameters:

`optContext` - optional value to save as view context

### sameAs

    boolean sameAs( <MVCContext> lastBuildContext )

Parameters:

`lastBuildContext` - context to compare to THIS

Returns:

whether the current context is the same as the given one

### toString

    String toString()

return THIS formatted as string

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

Documentation generated by JSDoc on Thu Jan 6 12:46:18 2011