M - the model typepublic class StoreRemoveEvent<M> extends StoreEvent<M,StoreRemoveEvent.StoreRemoveHandler<M>>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StoreRemoveEvent.HasStoreRemoveHandler<M>
A class that implements this interface is a public source of
StoreRemoveEvent. |
static interface |
StoreRemoveEvent.StoreRemoveHandler<M>
Handler interface for
StoreRemoveEvent. |
GwtEvent.Type<H>| Constructor and Description |
|---|
StoreRemoveEvent(int index,
M item)
Creates a new store remove event.
|
| Modifier and Type | Method and Description |
|---|---|
GwtEvent.Type<StoreRemoveEvent.StoreRemoveHandler<M>> |
getAssociatedType() |
int |
getIndex()
Returns the index of the removed item.
|
M |
getItem()
Returns the removed item.
|
static GwtEvent.Type<StoreRemoveEvent.StoreRemoveHandler<?>> |
getType()
Gets the type associated with this event.
|
getSourcepublic StoreRemoveEvent(int index,
M item)
index - the remove indexitem - the item that was removedpublic static GwtEvent.Type<StoreRemoveEvent.StoreRemoveHandler<?>> getType()
public GwtEvent.Type<StoreRemoveEvent.StoreRemoveHandler<M>> getAssociatedType()
getAssociatedType in class GwtEvent<StoreRemoveEvent.StoreRemoveHandler<M>>public int getIndex()
public M getItem()
Copyright © 2012. All Rights Reserved.