Jala 1.3

Class jala.ListRenderer.ArrayList

Object
   |
   +--jala.ListRenderer.ArrayList

class jala.ListRenderer.ArrayList


A simple wrapper around an array to use in conjunction with jala.ListRenderer. This wrapper can either handle complete arrays or subsections of an array. In the latter case the wrapper needs offset and total size information as argument to mimick a complete array.
Defined in ListRenderer.js


Field Summary
 Number length
          The length of this ArrayList instance.
 Number offset
          The offset of this ArrayList instance.
 
Constructor Summary
jala.ListRenderer.ArrayList (<Array> arr, <Number> offset, <Number> total)
            Creates a new ArrayList instance.
 
Method Summary
 Object get(<Number> idx)
           Returns the element at the index position passed as argument.
 Boolean isSubset()
           Returns true if this ArrayList is a subsection of a bigger array
 Number size()
           Returns the size of this ArrayList, which is either the length of the wrapped array or the total size passed as argument to the constructor (in case the wrapped array is just a subsection).
 Number subsetSize()
           Returns the actual size of this ArrayList's wrapped array.

Field Detail

length

Number length

offset

Number offset

Constructor Detail

jala.ListRenderer.ArrayList

jala.ListRenderer.ArrayList(<Array> arr, <Number> offset, <Number> total)

Method Detail

get

Object get(<Number> idx)

isSubset

Boolean isSubset()

size

Number size()

subsetSize

Number subsetSize()

Jala 1.3

Documentation generated by JSDoc on Tue Jan 8 15:45:31 2008