The Gravy Framework

Class DualController

Object
   |
   +--OObject
         |
         +--View
               |
               +--Controller
                     |
                     +--DualController
Direct Known Subclasses:
DualMenuController, DualDollarController

class DualController
extends Controller


This abstract class manages dual views (viewer and editor) of a ScalarModel.
See:

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

Version: 1.0


Constructor Summary
DualController ()
           
 
Method Summary
 String buildHTMLstr()
           return an HTML string of the basic structure for this view.
 void enableEdit( enable )
          
 Object formatted( value )
          
 void konstructor( <ScalarModel> 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 View
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

DualController

DualController()

Method Detail

buildHTMLstr

String buildHTMLstr()

enableEdit

void enableEdit( enable )

formatted

Object formatted( value )

konstructor

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

paintHTML

void paintHTML()

setEditMode

void setEditMode( mode, inEdit )

setModels

void setModels( value )

updateValidity

String updateValidity()

validator

String validator()

The Gravy Framework

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