|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.ListDataObjectList
This class creates a UIX Components (Marlin) DataObjectList to which DataObjects can be added and removed. This class is not synchronized.
Constructor Summary | |
ListDataObjectList()
Constructs an empty list |
|
ListDataObjectList(int initialCapacity)
Constructs an empty list with the specified initial capacity. |
|
ListDataObjectList(java.util.Vector list)
|
Method Summary | |
void |
addItem(DataObject data)
Adds an item to this list |
void |
clear()
Removes all of the elements from this DataObjectList |
DataObject |
getItem(int i)
Returns the DataObject at the index. |
int |
getLength()
Returns the number of items in the data set. |
int |
indexOf(java.lang.Object data)
Searches for the first occurrence of the given argument, testing for equality using the equals method. |
DataObject |
removeItem(int index)
|
java.lang.Object[] |
toArray(java.lang.Object[] anArray)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListDataObjectList()
public ListDataObjectList(int initialCapacity)
initialCapacity
- the initial capacity of the list.ArrayList.ArrayList(int)
public ListDataObjectList(java.util.Vector list)
list
- the Vector to use as the internal list. Every element of this
Vector must be of type DataObjectDataObject
Method Detail |
public void addItem(DataObject data)
data
- the item to add to this list.public DataObject removeItem(int index)
index
- the index of the item to be removedpublic void clear()
List.clear()
public int indexOf(java.lang.Object data)
data
- the DataObject to search forList.indexOf(Object)
public java.lang.Object[] toArray(java.lang.Object[] anArray)
List.toArray(Object[])
public DataObject getItem(int i)
DataObjectList
getItem
in interface DataObjectList
i
- is an index into this listDataObjectList.getItem(int)
public int getLength()
DataObjectList
getLength
in interface DataObjectList
DataObjectList.getLength()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |