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 . |
Constructor and Description |
---|
StoreRemoveEvent(int index,
M item)
Creates a new store remove event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(StoreRemoveEvent.StoreRemoveHandler<M> handler) |
<any> |
getAssociatedType() |
int |
getIndex()
Returns the index of the removed item.
|
M |
getItem()
Returns the removed item.
|
static <any> |
getType()
Gets the type associated with this event.
|
getSource
public StoreRemoveEvent(int index, M item)
index
- the remove indexitem
- the item that was removedpublic static <any> getType()
public <any> getAssociatedType()
public int getIndex()
public M getItem()
protected void dispatch(StoreRemoveEvent.StoreRemoveHandler<M> handler)
Copyright © 2018. All rights reserved.