Class MVCPopupMenuController
Object
|
+--GrvObject
|
+--MVCView
|
+--MVCController
|
+--MVCScalarEditController
|
+--MVCPopupMenuController
-
Direct Known Subclasses:
-
EDOHolderSelectMenuController
- 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 (PolyGlotInc.com)
See:
Defined in grvMVC.js
| 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
|
MVCPopupMenuController
MVCPopupMenuController()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
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)
currentContext
MVCContext currentContext()
return the current "context" of this view.
Default is "no rebuild ever needed" (unless others force us to)
konstructor
void konstructor( <MVCSelectionModel> sModel, <String> optName, <String> optEvtHndlrName, <String> optClassName )
Parameters:
sModel - selection data model to control
optName - optional name of this instance
optEvtHndlrName - optional name of event handler function
optClassName - optional CSS classname to use for formatting
Documentation generated by
JSDoc on Sun Feb 11 13:28:59 2007