The Gravey Framework and RATS RIA

Class MVCScalarEditController

Object
   |
   +--GrvObject
         |
         +--MVCView
               |
               +--MVCController
                     |
                     +--MVCScalarEditController
Direct Known Subclasses:
MVCFieldEditController, MVCChkBoxEditController, MVCPopupMenuController, MVCTextEditController, MVCBoolEditController, MVCDateEditController

class MVCScalarEditController
extends MVCController


This abstract class manages an editor of the specified MVCScalarModel. This controller edits a single scalar value.
Version: 2.5

Author: Bruce Wallace (PolyGlotInc.com)
See:

Defined in grvMVC.js


Constructor Summary
MVCScalarEditController ()
           
 
Method Summary
 void forceValue(x)
           force this controller to the given value
 Object getCtrlValue( )
           return the current value of the controller widget
 String getEvtHandlerStr()
           return a string with full invocation of our event handler
 Object getModelValue( )
           return the current value of our data model
 void konstructor( <MVCScalarModel> sModel, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )
          
 void paintHTML( )
           update/modify attributes of basic existing HTML for THIS view
 Object postEdit()
           return the current (post-edit) value of the controller widget
 void setCtrlValue(x)
           set our controller widget to the given value
 void setDisplay(x)
           set our display to the given value
 void setModels(x)
           set our (and our parents if we are embedded within a MVCDualController) data model to the given value
 void setModelValue(x)
           set our data model to the given value
 void updateView( )
           update our display to the current value of our data model
 
Methods inherited from class MVCView
buildHTMLstr, 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

MVCScalarEditController

MVCScalarEditController()

Method Detail

forceValue

void forceValue(x)

getCtrlValue

Object getCtrlValue( )

getEvtHandlerStr

String getEvtHandlerStr()

getModelValue

Object getModelValue( )

konstructor

void konstructor( <MVCScalarModel> sModel, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )

paintHTML

void paintHTML( )

postEdit

Object postEdit()

setCtrlValue

void setCtrlValue(x)

setDisplay

void setDisplay(x)

setModels

void setModels(x)

setModelValue

void setModelValue(x)

updateView

void updateView( )

The Gravey Framework and RATS RIA

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