Overview | File | Class | Tree | Index | Help
| The Gravey Framework and RATS RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class MVCFieldEditController

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--MVCController
                         |
                         +--MVCScalarEditController
                               |
                               +--MVCFieldEditController

Direct Known Subclasses:
  MVCDollarEditController

class MVCFieldEditController
extends MVCScalarEditController

This class manages a form field editor of the specified MVCScalarModel.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCFieldEditController ()`

Method Summary
`Object` | `buildHTMLstr()` Produce HTML version of a scalar editor. ala {input class='className' name="paylg1" size="min" maxlength="max" value="123456789.01" onchange="dirty('1');" onblur="validateDollar('paylg1')"/}
`void` | `konstructor( <MVCScalarModel> xModel, <int> min, <int> max, <String> className, <Function> optKeyFilter, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )`

Methods inherited from class MVCScalarEditController
`postEdit, setCtrlValue, getCtrlValue, getEvtHandlerStr, setDisplay, getModelValue, setModelValue, updateView, forceValue, setModels, paintHTML`

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

### MVCFieldEditController

    MVCFieldEditController()

Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Method Detail

### buildHTMLstr

    Object buildHTMLstr()

Produce HTML version of a scalar editor.

ala {input class='className' name="paylg1" size="min" maxlength="max" value="123456789.01" onchange="dirty('1');" onblur="validateDollar('paylg1')"/}

### konstructor

    void konstructor( <MVCScalarModel> xModel, <int> min, <int> max, <String> className, <Function> optKeyFilter, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )

Parameters:

`xModel` - scalar data model to edit

`min` - minimum number of chars to support (i.e. display size)

`max` - maximum number of chars to support

`className` - the CSS classname to use for formatting

`optKeyFilter` - optional keypress filter function

`optName` - optional name of this instance

`optEvtHndlrName` - optional name of event handler function

`optPostEdit` - optional post edit value cleanup function

Overview | File | Class | Tree | Index | Help
| The Gravey Framework and RATS RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Sun Feb 11 13:31:25 2007