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 MVCDateEditController

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

class MVCDateEditController
extends MVCScalarEditController

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

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCDateEditController ()`

Method Summary
`Object` | `buildHTMLstr()` Produce HTML version of a Data string scalar editor.
`Object` | `calendarID()`
`void` | `konstructor( <MVCScalarModel> xModel, <String> className, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )`
`void` | `paintHTML( )` TODO fix bug where being made invisible then visible again leaves calendar icon still invisible...probably need to make calendar its own Controller
`<static> void` | `LaunchCalendar( fieldName )` Static method to launch a calendar window with given ID

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

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

### MVCDateEditController

    MVCDateEditController()

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

- konstructor()

Method Detail

### buildHTMLstr

    Object buildHTMLstr()

Produce HTML version of a Data string scalar editor.

### calendarID

    Object calendarID()

### konstructor

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

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

`optPostEdit` - optional post edit value cleanup function

### paintHTML

    void paintHTML( )

TODO fix bug where being made invisible then visible again leaves calendar icon still invisible...probably need to make calendar its own Controller

### LaunchCalendar

    <static> void LaunchCalendar( fieldName )

Static method to launch a calendar window with given ID

Parameters:

`HTML` - ID of target form element

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