Overview | File | Class | Tree | Index | Help
| The Gravey 2.5 Framework and AIM RIA
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.5
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`

Constructor Detail

### MVCDateEditController

    MVCDateEditController()

Version: 2.5
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.5 Framework and AIM RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Jan 6 12:46:39 2011