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

## Class MVCImgButtonController

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

Direct Known Subclasses:
  EDOImgButtonController, MVCCmdImgButtonController

class MVCImgButtonController
extends MVCButtonController

This class is a ButtonController that manages an image button
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCImgButtonController ()`

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> imgFN, <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

### MVCImgButtonController

    MVCImgButtonController()

Version: 2.0
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> imgFN, <String> desc, <String> evtHandlerName, <MVCBoolModel> optEnableModel, <String> optName )

Parameters:

`imgFN` - filename of the (enabled) button image

`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.0 Framework and AIM 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:42 2007