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 MVCPadScalarView

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--MVCScalarView
                         |
                         +--MVCPadScalarView

class MVCPadScalarView
extends MVCScalarView

This class produces a blank-padded view of the specified MVCScalarModel. It transforms the raw value of the model into a right-blank-padded-to-min-len format.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCPadScalarView ()`

Method Summary
`void` | `konstructor( <MVCScalarModel> xModel, minLen, <String> optName )`
`void` | `updateView( )` update the display with the current model value

Methods inherited from class MVCScalarView
`formatted, getValueStr, setDisplay, buildHTMLstr, paintHTML`

Methods inherited from class MVCView
`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, embedAttr, block, unblock`

Methods inherited from class GrvObject
`souper, souper_, isInstanceOf`

Constructor Detail

### MVCPadScalarView

    MVCPadScalarView()

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

- konstructor()

Method Detail

### konstructor

    void konstructor( <MVCScalarModel> xModel, minLen, <String> optName )

Parameters:

`xModel` - the data model to view

`optName` - optional name of this instance

### updateView

    void updateView( )

update the display with the current model value

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