The Gravey 2.0 Framework and AIM RIA

Class MVCDualController

Object
   |
   +--GrvObject
         |
         +--MVCView
               |
               +--MVCController
                     |
                     +--MVCDualController
Direct Known Subclasses:
MVCDualChkBoxController, MVCDualStringController, MVCDualBoolController, MVCDualDollarController, MVCDualMenuController, MVCDualTextController, MVCDualDateController

class MVCDualController
extends MVCController


This abstract class manages dual views (viewer and editor) of a MVCScalarModel.
Version: 2.0

Author: Bruce Wallace (PolyGlotInc.com)
See:

Defined in grvMVC.js


Constructor Summary
MVCDualController ()
           
 
Method Summary
 String buildHTMLstr()
           return an HTML string of the basic structure for this view.
 void enableEdit( enable )
          
 Object formatted( value )
          
 void konstructor( <MVCScalarModel> sModel, <String> className, <String> optName )
          
 void paintHTML()
           update/modify attributes of basic existing HTML for THIS view
 void setEditMode( mode, inEdit )
          
 void setModels( value )
          
 String updateValidity()
           update Validity attributes
 String validator()
           validate data and return null if valid else error msg
 
Methods inherited from class MVCView
mustRebuild, mustRepaint, currentContext, watchModel, setViewID, innerID, getWidgetID, getWidget, getHook, buildHTML, updateContext, contextChanged, disable, enable, setVisible, setSubViewsVisible, isVisible, redraw, draw, rebuildAny, build, buildsubviews, paint, setParentView, clearSubViews, addSubView, getSubView, delSubView, embedView, embedHTML, embedAttr, block, unblock
   
Methods inherited from class GrvObject
souper
 

Constructor Detail

MVCDualController

MVCDualController()

Method Detail

buildHTMLstr

String buildHTMLstr()

enableEdit

void enableEdit( enable )

formatted

Object formatted( value )

konstructor

void konstructor( <MVCScalarModel> sModel, <String> className, <String> optName )

paintHTML

void paintHTML()

setEditMode

void setEditMode( mode, inEdit )

setModels

void setModels( value )

updateValidity

String updateValidity()

validator

String validator()

The Gravey 2.0 Framework and AIM RIA

Documentation generated by JSDoc on Sat Dec 8 21:51:03 2007