M - the model typepublic class StoreAddEvent<M> extends StoreEvent<M,StoreAddEvent.StoreAddHandler<M>>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StoreAddEvent.HasStoreAddHandlers<M>
A class that implements this interface is a public source of
StoreAddEvent. |
static interface |
StoreAddEvent.StoreAddHandler<M>
Handler interface for
StoreAddEvent. |
GwtEvent.Type<H>| Constructor and Description |
|---|
StoreAddEvent(int index,
List<M> items)
Creates a new store add event.
|
StoreAddEvent(int index,
M item)
Creates a new store add event.
|
| Modifier and Type | Method and Description |
|---|---|
GwtEvent.Type<StoreAddEvent.StoreAddHandler<M>> |
getAssociatedType() |
int |
getIndex()
Returns the insert index for this store add event.
|
List<M> |
getItems()
Returns the items that were inserted for this store add event.
|
static GwtEvent.Type<StoreAddEvent.StoreAddHandler<?>> |
getType()
Gets the type associated with this event.
|
getSourcepublic StoreAddEvent(int index,
List<M> items)
index - the insert indexitems - the items that were addedpublic StoreAddEvent(int index,
M item)
index - the insert indexitem - the item that was addedpublic static GwtEvent.Type<StoreAddEvent.StoreAddHandler<?>> getType()
public GwtEvent.Type<StoreAddEvent.StoreAddHandler<M>> getAssociatedType()
getAssociatedType in class GwtEvent<StoreAddEvent.StoreAddHandler<M>>public int getIndex()
Copyright © 2012. All Rights Reserved.