|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IObjectCollection
An interface which is an integral part of the Data Node architecture. This interface represents the actual Data that the Data Node operates on.
| Method Summary | |
|---|---|
boolean |
add(int index,
java.lang.Object object,
DataChangeNotifier notifier)
Adds a new child to the current collection. |
java.lang.Object |
get(int index)
Returns the item at the given index in the collection. |
java.lang.Object |
getParentObject()
Returns the parent of the collection. |
boolean |
remove(int index,
DataChangeNotifier notifier)
Removes the child at the given index. |
boolean |
removeAll(DataChangeNotifier notifier)
Remove all children. |
boolean |
set(int index,
java.lang.Object object,
DataChangeNotifier notifier)
Sets the child at the given index. |
int |
size()
Returns the size of the collection. |
| Method Detail |
|---|
int size()
java.lang.Object get(int index)
index -
boolean add(int index,
java.lang.Object object,
DataChangeNotifier notifier)
index - index at which the item should be insertedobject - the new child to insertnotifier - a listener that is to be notified of the change
boolean set(int index,
java.lang.Object object,
DataChangeNotifier notifier)
index - index at which the item should be insertedobject - the new child to insertnotifier - a listener that is to be notified of the change
boolean remove(int index,
DataChangeNotifier notifier)
index - the index of the child to removenotifier - a listener that is to be notified of the change
boolean removeAll(DataChangeNotifier notifier)
notifier - a listener that is to be notified of the change
java.lang.Object getParentObject()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||