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

## Class EDOView

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--EDOView

Direct Known Subclasses:
  LotView, ShippingView, BidderView, LoanView, AuctionView, ContactView, ItemView

class EDOView
extends MVCView

This abstract class produces a view of an EDO. Subclasses should override buildFields().
Version: 2.5
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvEDO.js

Field Summary
`<static> Object` | `kImgCollapsed`
`<static> Object` | `kImgExpanded`

Constructor Summary
`EDOView ()`

Method Summary
`Object` | `buildAmtField( f,newrow,optSpan )`
`Object` | `buildBoxField( f,newrow,optSpan )`
`Object` | `buildClickEvent()`
`Object` | `buildDayField( f,newrow,optSpan )`
`void` | `buildFields( HTML )` push into given array the HTML needed for all EDO fields ABSTRACT: sub classes of EDOView should override this
`String` | `buildHTMLstr()` return an HTML string of the basic structure for this view.
`Object` | `buildNulField( newrow, optSpan )`
`Object` | `buildPctField( f,newrow,optSpan )`
`Object` | `buildPopField( f,newrow,listModel,optSpan,optEvtHandlerName,optInitDesc )`
`Object` | `buildStrField( f,min,max,newrow,optSpan )`
`Object` | `buildTitle()`
`Object` | `buildToggle()`
`Object` | `buildToggleEvent()`
`Object` | `buildTxtField( f,rows,cols,max,newrow,optSpan )`
`Object` | `buildUprField( f,min,max,newrow,optSpan )`
`Object` | `buildYN_Field( f,newrow,optSpan )`
`void` | `cascadedMenuSelect(<MVCSelectionModel> selectModel,<String> attrID)` Select the value of the given attribute into the given select model.
`String` | `clickID()` return the view ID of our clickable panel
`MVCContext` | `currentContext()` return the current "context" of this view.
`Object` | `fieldWrapper( dual,f,newrow,optSpan )`
`String` | `innerID()` return the view ID of our set of attribute fields
`void` | `konstructor( <EDO> edo, <EDOIndex> edoIndex, innerView )`
`void` | `paintHTML()` update/modify attributes of basic existing HTML for THIS view
`void` | `preSelect(edo)`
`void` | `sharedMenuSelect(<MVCSelectionModel> selectModel,<String> attrID)` Select the value of the given attribute into the given select model.
`void` | `updateEditMode( <boolean> enableEdit, <String> attrID )` set the "can edit" status of the specified attribute
`<static> Object` | `ShellHTML( <EDOIndex> xi, EDOclazz )` Static method to generate the shell HTML for given future EDO.
`<static> Object` | `Title( EDOclazz )`

Methods inherited from class MVCView
`mustRebuild, mustRepaint, watchModel, setViewID, 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`

Field Detail

### kImgCollapsed

    <static> Object kImgCollapsed

### kImgExpanded

    <static> Object kImgExpanded

Constructor Detail

### EDOView

    EDOView()

Version: 2.5
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Method Detail

### buildAmtField

    Object buildAmtField( f,newrow,optSpan )

### buildBoxField

    Object buildBoxField( f,newrow,optSpan )

### buildClickEvent

    Object buildClickEvent()

### buildDayField

    Object buildDayField( f,newrow,optSpan )

### buildFields

    void buildFields( HTML )

push into given array the HTML needed for all EDO fields

ABSTRACT: sub classes of EDOView should override this

### 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)

### buildNulField

    Object buildNulField( newrow, optSpan )

### buildPctField

    Object buildPctField( f,newrow,optSpan )

### buildPopField

    Object buildPopField( f,newrow,listModel,optSpan,optEvtHandlerName,optInitDesc )

### buildStrField

    Object buildStrField( f,min,max,newrow,optSpan )

### buildTitle

    Object buildTitle()

### buildToggle

    Object buildToggle()

### buildToggleEvent

    Object buildToggleEvent()

### buildTxtField

    Object buildTxtField( f,rows,cols,max,newrow,optSpan )

### buildUprField

    Object buildUprField( f,min,max,newrow,optSpan )

### buildYN_Field

    Object buildYN_Field( f,newrow,optSpan )

### cascadedMenuSelect

    void cascadedMenuSelect(<MVCSelectionModel> selectModel,<String> attrID)

Select the value of the given attribute into the given select model. Since global shared menu data models are just temp utility models, shared by all menu instances, we must manually set each to the current value of the REAL data model (iff this is the ONE AND ONLY currently-being-edited EDO). In other words, this trick of sharing a single data model is possible because we only allow one menu of this type to be editable at a time.

Parameters:

`selectModel` - the shared menu model

`attrID` - object element name specifying desired attribute

### clickID

    String clickID()

return the view ID of our clickable panel

### currentContext

    MVCContext currentContext()

return the current "context" of this view. Default is "no rebuild ever needed" (unless others force us to)

### fieldWrapper

    Object fieldWrapper( dual,f,newrow,optSpan )

### innerID

    String innerID()

return the view ID of our set of attribute fields

### konstructor

    void konstructor( <EDO> edo, <EDOIndex> edoIndex, innerView )

Parameters:

`edo` - EDO we are to observe

`edoIndex` - composite EDO index

### paintHTML

    void paintHTML()

update/modify attributes of basic existing HTML for THIS view

### preSelect

    void preSelect(edo)

### sharedMenuSelect

    void sharedMenuSelect(<MVCSelectionModel> selectModel,<String> attrID)

Select the value of the given attribute into the given select model. Since global shared menu data models are just temp utility models, shared by all menu instances, we must manually set each to the current value of the REAL data model (iff this is the ONE AND ONLY currently-being-edited EDO). In other words, this trick of sharing a single data model is possible because we only allow one menu of this type to be editable at a time.

Parameters:

`selectModel` - the shared menu model

`attrID` - object element name specifying desired attribute

### updateEditMode

    void updateEditMode( <boolean> enableEdit, <String> attrID )

set the "can edit" status of the specified attribute

Parameters:

`enableEdit` - if true enable editor else viewer

`attrID` - object element name specifying desired attribute

### ShellHTML

    <static> Object ShellHTML( <EDOIndex> xi, EDOclazz )

Static method to generate the shell HTML for given future EDO.

Parameters:

`xi` - index of EDO

`itemClazz` - "class" of EDO

### Title

    <static> Object Title( EDOclazz )

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

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