Skip to content

socr.view interface

selvam1991 edited this page Feb 6, 2013 · 11 revisions

This is the view object where all the UI rendering takes place. socr.view object uses the singleton pattern just like the model and controller.

Private Variables

_currentVariable

_currentValues

Private Methods

_create(start,size)

This method populates the sampleList on the right hand side. This methods calls for the data from the model object. start is the random sample number from where to start the list that will be displayed. Size tells the number of random samples in a single page (its set to 500 samples/page).

_createPagination(x,y)

Creates interactive pagination for the sample List. x is the random sample number from where to start and y contains the number of random samples in a single page (its set to 500 samples/page).

Clone this wiki locally