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 MVCFormButtonController

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--MVCController
                         |
                         +--MVCButtonController
                               |
                               +--MVCFormButtonController

Direct Known Subclasses:
  EDOButtonController, MVCCmdButtonController

class MVCFormButtonController
extends MVCButtonController

This class is a Button Controller that manages a form button
Version: 2.5
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCFormButtonController ()`

Method Summary
`String` | `buildHTMLstr()` return an HTML string of the basic structure for this view.
`void` | `canonical( enableFlag )` put the HTML in canonical form given the specified enable flag and this controller's state
`void` | `konstructor( <String> label, <String> desc, <String> evtHandlerName, <MVCBoolModel> optEnableModel, <String> optName )`

Methods inherited from class MVCButtonController
`isEnabled, getAltText, 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

### MVCFormButtonController

    MVCFormButtonController()

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

- konstructor()

Method Detail

### buildHTMLstr

    String buildHTMLstr()

return an HTML string of the basic structure for this view. As a side effect, build/update subview list for this view. As a side effect, invoke this method on each nested subview.

Returns:

HTML (suitable for assigning to innerHTML)

### canonical

    void canonical( enableFlag )

put the HTML in canonical form given the specified enable flag and this controller's state

### konstructor

    void konstructor( <String> label, <String> desc, <String> evtHandlerName, <MVCBoolModel> optEnableModel, <String> optName )

Parameters:

`label` - label of the button

`desc` - tooltip description for this button

`evtHandlerName` - name of event handler function

`optEnableModel` - optional "is enabled" data model

`optName` - optional name of this instance

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