The Gravy Framework

Class PopupMenuController

Object
   |
   +--OObject
         |
         +--View
               |
               +--Controller
                     |
                     +--ScalarEditController
                           |
                           +--PopupMenuController
Direct Known Subclasses:
AccountSelectController

class PopupMenuController
extends ScalarEditController


This class manages a popup menu which watches a ListModel (specifying the menu items) embedded within a SelectionModel that reflects which item is/should-be currently selected. [The scalar value we "edit" is the "select index" of the SelectionModel.]
See:

Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js

Version: 1.0


Constructor Summary
PopupMenuController ()
           
 
Method Summary
 String buildHTMLstr()
           return an HTML string of the basic structure for this view.
 void konstructor( <SelectionModel> sModel, <String> optName, <String> optEvtHndlr )
          
 
Methods inherited from class ScalarEditController
setCtrlValue, getCtrlValue, getEvtHandler, setDisplay, getModelValue, setModelValue, updateView, forceValue, setModels, paintHTML
   
Methods inherited from class View
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, block, unblock
 

Constructor Detail

PopupMenuController

PopupMenuController()

Method Detail

buildHTMLstr

String buildHTMLstr()

konstructor

void konstructor( <SelectionModel> sModel, <String> optName, <String> optEvtHndlr )

The Gravy Framework

Documentation generated by JSDoc on Fri Mar 17 06:40:21 2006