The Gravy Framework

Class ScalarEditController

Object
   |
   +--OObject
         |
         +--View
               |
               +--Controller
                     |
                     +--ScalarEditController
Direct Known Subclasses:
FieldEditController, PopupMenuController

class ScalarEditController
extends Controller


This abstract class manages an editor of the specified ScalarModel. This controller edits a single scalar value.
See:

Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js

Version: 1.0


Constructor Summary
ScalarEditController ()
           
 
Method Summary
 void forceValue(x)
           force this controller to the given value
 Object getCtrlValue( )
           return the current value of the controller widget
 String getEvtHandler( )
           return a string with full invocation of our event handler
 Object getModelValue( )
           return the current value of our data model
 void konstructor( <ScalarModel> sModel, <String> optName, <String> optEvtHndlr )
          
 void paintHTML( )
           update/modify attributes of basic existing HTML for THIS view
 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 DualController) 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 View
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, block, unblock
 

Constructor Detail

ScalarEditController

ScalarEditController()

Method Detail

forceValue

void forceValue(x)

getCtrlValue

Object getCtrlValue( )

getEvtHandler

String getEvtHandler( )

getModelValue

Object getModelValue( )

konstructor

void konstructor( <ScalarModel> sModel, <String> optName, <String> optEvtHndlr )

paintHTML

void paintHTML( )

setCtrlValue

void setCtrlValue(x)

setDisplay

void setDisplay(x)

setModels

void setModels(x)

setModelValue

void setModelValue(x)

updateView

void updateView( )

The Gravy Framework

Documentation generated by JSDoc on Fri Mar 17 06:40:21 2006