The DataObjectIntegerArray class is used to model an Integer array as a Kanzi DataObjectList with a DataObjectInt as each element.
More...
Inherits DataObjectList.
|
static final Metaclass | metaclass = new Metaclass("Kanzi.DataObjectIntegerArray") |
| The Metaclass for the class.
|
|
The DataObjectIntegerArray class is used to model an Integer array as a Kanzi DataObjectList with a DataObjectInt as each element.
◆ acquireItem()
DataObject acquireItem |
( |
int |
index | ) |
|
Acquires an item from the list at the provided index.
- Parameters
-
- Returns
- The DataObject from the specified index
◆ create() [1/2]
Constructs a new DataObjectIntegerArray.
- Parameters
-
domain | UI Domain where this object belongs. |
name | Name of the object. |
◆ create() [2/2]
Constructs a new DataObjectIntegerArray with a default value.
- Parameters
-
domain | UI Domain where this object belongs. |
name | Name of the object. |
defaultValue | The default value. |
◆ getItemTemplate()
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.
- Returns
- template of an individual item
◆ getValue()
Gets the value of the list as an Integer Array.
- Returns
- An Integer array representation of the current value.
◆ itemCount()
Gets the count of items in the list.
- Returns
- number of items in the list
◆ releaseItem()
void releaseItem |
( |
int |
index | ) |
|
Releases the memory resources associated with a particular item.
- Parameters
-
◆ setValue()
void setValue |
( |
Integer [] |
value | ) |
|
Sets the value of the Data Object.
- Parameters
-
value | The new Integer Array value. |