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

## Class EDOListView

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--MVCListView
                         |
                         +--EDOListView

class EDOListView
extends MVCListView

This class produces a view of a List of EDOs.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvEDO.js

Constructor Summary
`EDOListView ()`

Method Summary
`MVCContext` | `currentContext()` return the current "context" of this view.
`String` | `headHTMLstr()` method that should return HTML string for the header item
`EDOIndex` | `itemEDOIndex( <int> index )` return the EDOIndex appropriate for the given list index and EDO type.
`String` | `itemHTMLstr( <int> index, <Object> item, <String> itemID )` method that should return HTML string for specified list item
`void` | `konstructor( <EDOListModel> edoListModel, <Function> edoViewClass )`

Methods inherited from class MVCListView
`itemPaint, headPaint, itemViewID, paintHTML, listHTMLstr, buildHTMLstr`

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

### EDOListView

    EDOListView()

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

- konstructor()

Method Detail

### currentContext

    MVCContext currentContext()

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

### headHTMLstr

    String headHTMLstr()

method that should return HTML string for the header item

### itemEDOIndex

    EDOIndex itemEDOIndex( <int> index )

return the EDOIndex appropriate for the given list index and EDO type.

ABSTRACT: sub classes of EDOListView should override this.

Parameters:

`index` - index into ListModel

### itemHTMLstr

    String itemHTMLstr( <int> index, <Object> item, <String> itemID )

method that should return HTML string for specified list item

Parameters:

`index` - index into our MVCListModel

`item` - the actual item from our MVCListModel

`itemID` - the view ID of the corresponding item subview

### konstructor

    void konstructor( <EDOListModel> edoListModel, <Function> edoViewClass )

Parameters:

`edoListModel` - EDO list we are to observe

`edoViewClass` - View Class for individual EDOs

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

Documentation generated by JSDoc on Sun Feb 11 13:28:59 2007