The DataObjectIntegerArray class is used to model an Integer array as a Kanzi DataObjectList with a DataObjectInt as each element. More...
Public Member Functions | |
DataObject | acquireItem (int index) |
Acquires an item from the list at the provided index. | |
void | close () |
Closes the DataObjectIntegerArray object. | |
ObjectRef< DataObjectInt > | getItemTemplate () |
Returns tree structure of the data source for individual list item. | |
Integer[] | getValue () |
Gets the value of the list as an Integer Array. | |
int | itemCount () |
Gets the count of items in the list. | |
void | releaseItem (int index) |
Releases the memory resources associated with a particular item. | |
void | setValue (Integer[] value) |
Sets the value of the Data Object. | |
Static Public Member Functions | |
static ObjectRef< DataObjectIntegerArray > | create (Domain domain, String name) |
Constructs a new DataObjectIntegerArray. | |
static ObjectRef< DataObjectIntegerArray > | create (Domain domain, String name, Integer[] defaultValue) |
Constructs a new DataObjectIntegerArray with a default value. | |
Static Public Attributes | |
static final Metaclass | metaclass = new Metaclass("Kanzi.DataObjectIntegerArray") |
The Metaclass for the class. | |
Protected Member Functions | |
void | initialize () |
The DataObjectIntegerArray class is used to model an Integer array as a Kanzi DataObjectList with a DataObjectInt as each element.
DataObject acquireItem | ( | int | index | ) |
Acquires an item from the list at the provided index.
index | The item index |
|
static |
Constructs a new DataObjectIntegerArray.
domain | UI Domain where this object belongs. |
name | Name of the object. |
|
static |
Constructs a new DataObjectIntegerArray with a default value.
domain | UI Domain where this object belongs. |
name | Name of the object. |
defaultValue | The default value. |
ObjectRef< DataObjectInt > getItemTemplate | ( | ) |
Returns tree structure of the data source for individual list item.
Only hierarchy and object types are valid, the data might not be.
Integer[] getValue | ( | ) |
Gets the value of the list as an Integer Array.
int itemCount | ( | ) |
Gets the count of items in the list.
void releaseItem | ( | int | index | ) |
Releases the memory resources associated with a particular item.
index | The item index. |
void setValue | ( | Integer[] | value | ) |
Sets the value of the Data Object.
value | The new Integer Array value. |