public abstract class BulkInsertEvent<E> extends Object implements CollectionEvent<EventList<E>>
| Modifier and Type | Field and Description |
|---|---|
protected EventList<E> |
eventList |
protected int |
insertIndex |
protected List<E> |
items |
| Constructor and Description |
|---|
BulkInsertEvent() |
BulkInsertEvent(EventList<E> elist,
int idx,
List<E> items) |
| Modifier and Type | Method and Description |
|---|---|
EventList<E> |
getCollection()
Возвращает коллекцию с которой связано сообщение
|
int |
getInsertIndex()
Указывает позицию (от нуля) в которую производмтся вставка
|
List<E> |
getItems()
Указывает вставляемые элементы
|
void |
setCollection(EventList<E> elist)
Указывает список в который производится вставка
|
void |
setInsertIndex(int insertIndex)
Указывает позицию (от нуля) в которую производмтся вставка
|
void |
setItems(List<E> items)
Указывает вставляемые элементы
|
public EventList<E> getCollection()
CollectionEventgetCollection in interface CollectionEvent<EventList<E>>public void setCollection(EventList<E> elist)
elist - списокpublic int getInsertIndex()
public void setInsertIndex(int insertIndex)
insertIndex - позицияCopyright © 2018. All rights reserved.