Class Context
Object
|
+--OObject
|
+--Context
- class
Context
- extends OObject
This class encapsulates the criteria for building
a View 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.
See:
Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js
Version: 1.0
|
Method Summary |
void
|
konstructor( <anyComparableType> optContext )
|
boolean
|
sameAs( <Context> lastBuildContext )
|
String
|
toString()
return THIS formatted as string
|
Context
Context()
See:Author: Bruce Wallace (PolyGlotInc.com)
Version: 1.0
konstructor
void konstructor( <anyComparableType> optContext )
Parameters:
optContext - optional value to save as view context
sameAs
boolean sameAs( <Context> 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
Documentation generated by
JSDoc on Fri Mar 17 06:40:21 2006