MoreMotion Face API

Class ProcessRecordIterator

Object
   |
   +--ProcessRecordIterator

class ProcessRecordIterator


A class to iterate over the ProcessRecords of a ProcessBlock. The Object of this class is created either by ProcessBlock.getRecordIterator() or ProcessBlock.getRecordIterator().
Defined in Process.js


Field Summary
 ProcessBlock block
          The ProcessBlock object
 
Constructor Summary
ProcessRecordIterator(blockOrRecord)
           
 
Method Summary
 void bottom()
           Locates the iterator to the bottom of the records so that the next previous()< method call returns the last record.
 Number getIndex()
           Returns the index in the ProcessBlock of currently located ProcessRecord
 ProcessRecord getRecord()
           Returns the currently located ProcessRecord object
 HTML_TR_Element getRowNode()
           Returns the row node (TR Element) of currently located ProcessRecord
 Boolean next()
           Iterates to the next ProcessRecord.
 Boolean previous()
           Iterates to the previous ProcessRecord.
 void removeAll()
           Removes all the ProcessRecords wrapped by this iterator
 void top()
           Locates the iterator to the top of the records so that the next next() method call returns the first record.

Field Detail

block

ProcessBlock block

Constructor Detail

ProcessRecordIterator

ProcessRecordIterator(blockOrRecord)

Method Detail

bottom

void bottom()

getIndex

Number getIndex()

getRecord

ProcessRecord getRecord()

getRowNode

HTML_TR_Element getRowNode()

next

Boolean next()

previous

Boolean previous()

removeAll

void removeAll()

top

void top()

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011