The Gravey Framework and RATS RIA

Class MVCPopupMenuController

Object
   |
   +--GrvObject
         |
         +--MVCView
               |
               +--MVCController
                     |
                     +--MVCScalarEditController
                           |
                           +--MVCPopupMenuController
Direct Known Subclasses:
AccountSelectController

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.5

Author: Bruce Wallace (PolyGlotInc.com)
See:

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
 

Constructor Detail

MVCPopupMenuController

MVCPopupMenuController()

Method Detail

buildHTMLstr

String buildHTMLstr()

currentContext

MVCContext currentContext()

konstructor

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

The Gravey Framework and RATS RIA

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