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

## Class MVCChkBoxEditController

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

class MVCChkBoxEditController
extends MVCScalarEditController

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

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCChkBoxEditController ()`

Method Summary
`Object` | `buildHTMLstr()` Produce HTML version of a checkbox editor. ala {INPUT type="checkbox" name="ACTIVE_ONLY" value="Y" readonly="readonly"/}
`Object` | `getCtrlValue( )` return the current value of the controller widget
`void` | `konstructor( <MVCScalarModel> xModel, <String> className, <String> optName, <String> optEvtHndlrName )`
`void` | `setCtrlValue(x)` set our controller widget to the given value

Methods inherited from class MVCScalarEditController
`postEdit, 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, souper_, isInstanceOf`

Constructor Detail

### MVCChkBoxEditController

    MVCChkBoxEditController()

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

- konstructor()

Method Detail

### buildHTMLstr

    Object buildHTMLstr()

Produce HTML version of a checkbox editor.

ala {INPUT type="checkbox" name="ACTIVE_ONLY" value="Y" readonly="readonly"/}

### getCtrlValue

    Object getCtrlValue( )

return the current value of the controller widget

### konstructor

    void konstructor( <MVCScalarModel> xModel, <String> className, <String> optName, <String> optEvtHndlrName )

Parameters:

`xModel` - scalar data model to edit

`className` - the CSS classname to use for formatting

`optName` - optional name of this instance

`optEvtHndlrName` - optional name of event handler function

### setCtrlValue

    void setCtrlValue(x)

set our controller widget to the given value

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

Documentation generated by JSDoc on Sun Feb 11 13:28:59 2007