Class DatePickerList.ContentProvider
Object
|
+--ContentProvider
|
+--DatePickerList.ContentProvider
- class
DatePickerList.ContentProvider
- extends ContentProvider
Defined in date_picker_list.js
Method Summary |
Array
|
getElements()
|
int
|
hashFunction(<int> x)
Implements an identity hash function (ie. returns
x ).
|
void
|
setInterval(<int> min, <int> max)
Changes the range of elements maintained by the content provider to
[min, max] .
|
DatePickerList.ContentProvider
function DatePickerList.ContentProvider(allowNull, min, max)
getElements
Array getElements()
hashFunction
int hashFunction(<int> x)
Implements an identity hash function (ie. returns
x
).
setInterval
void setInterval(<int> min, <int> max)
Changes the range of elements maintained by the content provider to
[min, max]
. If the content provider was instantiated with
allowNull
set to true
, then the list of
elements has a -1 at the beginning. This method throws an exception if
min
is bigger than max
.
Parameters:
min
- the start of the range
max
- the end of the range