The Gravey 2.0 Framework

Class MVCPopupMenuController

Direct Known Subclasses:

class MVCPopupMenuController
extends MVCScalarEditController

This class manages a popup menu which watches a MVCListModel (specifying the menu items) embedded within a MVCSelectionModel that reflects which item is/should-be currently selected. [The scalar value we "edit" is the "select index" of the MVCSelectionModel.] Each item in the list should implement the MVCMenuItem interface.
Version: 2.0

Author: Bruce Wallace (

Defined in grvMVC.js

Constructor Summary
MVCPopupMenuController ()
Method Summary
 String buildHTMLstr()
           return an HTML string of the basic structure for this view.
 MVCContext currentContext()
           return the current "context" of this view.
 void konstructor( <MVCSelectionModel> sModel, <String> optName, <String> optEvtHndlrName, <String> optClassName )
Methods inherited from class MVCScalarEditController
postEdit, setCtrlValue, getCtrlValue, getEvtHandlerStr, setDisplay, getModelValue, setModelValue, updateView, forceValue, setModels, paintHTML
Methods inherited from class MVCView
mustRebuild, mustRepaint, 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



Method Detail


String buildHTMLstr()


MVCContext currentContext()


void konstructor( <MVCSelectionModel> sModel, <String> optName, <String> optEvtHndlrName, <String> optClassName )

The Gravey 2.0 Framework

Documentation generated by JSDoc on Sat Dec 8 21:51:44 2007